Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
E

eight

@eight
About
Posts
47
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Mobile application development strategy. Code ONCE, run everywhere?
    E eight

    Hi, I'd like to develop an offline mobile application that runs on all major smartphone (Android, iPhone, Windows etc.). I understand that each smartphone uses their own language (Objective-C, Java, .Net). Is there a way to code ONCE, then use the same code for all smartphones? If not all, at least the business-logic part of the code?

    Mobile csharp java swift android ios

  • How to do a select statement from two or more tables?
    E eight

    Exactly what I need. Thanks :)

    Database help tutorial question

  • How to do a select statement from two or more tables?
    E eight

    Hi, What I have is table Student and Poke Student

    ------------------------------------
    Student_Id(PK) | Name

    1 Alex
    2 Bob
    3 Caveman

    Poke

    ----------------------------------------------------------
    Poke_Id(PK) | Poke_Giver_Id(FK) | Poke_Receiver_Id(FK)

    1 1 2
    2 1 2
    3 2 1

    What I'm trying to get is something like this.

    ----------------------------------------------------
    Poke_Id | Poke_Giver_Name | Poke_Receiver_Name

    1 Alex Bob
    2 Alex Bob
    3 Bob Alex

    Please help.

    Database help tutorial question

  • Audit Trail : Single table for all users or multiple table per user
    E eight

    Hi, I'm designing an audit trail database to log user's activities. Should I create a single table to log all user activities e.g:

    Id(PK) | UserId(FK) | ActionTime | ActionTaken

    or, multiple tables; each per user e.g:

    Table Name : AuditTrail_UserId

    Id(PK) | ActionTime | ActionTaken

    I'd like to be able to do 2 kind of text search though, 1. Search single user activities 2. Search all user activities

    Database database

  • Developing Lotus Notes Plugin : What does "navigate to the JRE in the Notes installation folder" means?
    E eight

    Under my "C:\Program Files\IBM\Lotus\Notes", there are folders 1.Data 2.framework 3.icc 4.jvm 5.license 6.MUI 7.ndext 8.properties 9.xmlschemas 10.xsp Tried windows search, but there's no folder name with "JRE" under my Notes installation folder. :sigh:

    Java com question

  • Developing Lotus Notes Plugin : What does "navigate to the JRE in the Notes installation folder" means?
    E eight

    Hi, From this site[^], where is the JRE in the Notes installation folder? I've installed Lotus Notes 8.5

    Java com question

  • Saving a web page as image
    E eight

    Thanks Ravi

    C / C++ / MFC help graphics tutorial

  • Saving a web page as image
    E eight

    Hi. I'm trying to save a web page as bitmap. I've created a simple Browser Helper Object but now I'm stuck at how to convert the web page to image. I've tried creating a bitmap screenshot of the browser but that didn't work with pages that require scrolling. Please help.

    C / C++ / MFC help graphics tutorial

  • Moving from VS2008 to VS2010, now 'intrin.h' fails to compile
    E eight

    I didn't include 'intrin.h' in my code.

    C / C++ / MFC csharp visual-studio help question

  • Moving from VS2008 to VS2010, now 'intrin.h' fails to compile
    E eight

    The project compiles correctly in VS2008, but not with 2010. The error is 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ')' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2143: syntax error : missing ';' before 'constant' 1>c:\program files\microsoft visual studio 10.0\vc\include\intrin.h(1065): error C2059: syntax error : ')' pointing to

    __MACHINEI(void __cpuid(int a[4], int b))
    __MACHINEI(void __cpuidex(int a[4], int b, int c)) <== this is the line that's giving me compile error
    __MACHINEI(unsigned __int64 __readpmc(unsigned long a))

    Any ideas?

    C / C++ / MFC csharp visual-studio help question

  • Syntax to send contact information by SMS
    E eight

    I'm trying to manually compose an SMS to mimic what "Send contact via SMS" on my Sony Ericcson is doing. How do I do this? Google points me towards sending VCard but I don't think my cheap old Nokia could handle VCard.

    IT & Infrastructure question docker

  • How to write a function that calls a secondary thread and returns back to the main thread?
    E eight

    Thanks for the link. Helps a lot :)

    C / C++ / MFC question architecture tutorial

  • How to write a function that calls a secondary thread and returns back to the main thread?
    E eight

    Hi This is more of a code architecture question. I'll try my best to explain what I'm trying to do. I need to create a function that have access to a secondary thread, process it, and returns back to the primary thread. Let say class B has FunctionX.

    bool B::FunctionX(LPCTSTR lpszValue, CString& strResponse)
    {
    //Access the secondary thread to process lpszValue and assign strResponse;
    //Returns true if process successful and false if process fail
    }

    Then, class CMyView will call FunctionX like so

    void CMyView::Foo()
    {
    B myB;
    CString str;
    if(myB.FunctionX(TEXT("TestValue"), str)
    {
    AfxMessagebox(TEXT("Oh Yeah!"));
    }
    else
    {
    AfxMessageBox(TEXT("Boohooo!"));
    }
    }

    C / C++ / MFC question architecture tutorial

  • Lists.asmx GetList failed with error 12044
    E eight

    Solved it. I found out that if SharePoint server returns (12044)ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED, just resend the content again but this time without the header. Kinda hackish, but works for me :doh:

    SharePoint xml sharepoint wcf com sysadmin

  • Lists.asmx GetList failed with error 12044
    E eight

    How do I change this to include Windows authentication instead? Do I need to send different windows authentication for every request?

    SharePoint xml sharepoint wcf com sysadmin

  • Lists.asmx GetList failed with error 12044
    E eight

    Hi, I'm sending this to my sharepoint server and it keeps on failing with error 12044 (ERROR_WINHTTP_CLIENT_AUTH_CERT_NEEDED).

    POST /_vti_bin/Lists.asmx HTTP/1.1
    Content-Type: text/xml; charset=utf-8
    Authorization: Basic <Username:Password base64encoded>
    User-Agent: MySimpleApplication
    Host: <MySharePointServer>
    Content-Length: 449
    Cache-Control: no-cache
    SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetList"

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    soap:Body
    <GetList xmlns="http://schemas.microsoft.com/sharepoint/soap/">
    <listName>ListName</listName>
    </GetList>
    </soap:Body>
    </soap:Envelope>

    SharePoint xml sharepoint wcf com sysadmin

  • About array of BSTR
    E eight

    I have this function..

    void MyFunction(BSTR* param, int nArraySize);

    and I'm supposed to pass an array of string ("String1", "String2", "String3") as param. How can I do this?

    C / C++ / MFC question data-structures

  • Passing Array of Strings as BSTR*
    E eight

    Arun, did you manage to find a way to do it?

    C / C++ / MFC csharp c++ java visual-studio data-structures

  • How to load custom images on RibbonX?
    E eight

    I'm trying to use my own image (.png) as a ribbon button. I've managed to place a windows icon on my custom button using this code <code> STDMETHODIMP CConnect::GetCustomUI(BSTR RibbonID, BSTR * RibbonXml) { if (!RibbonXml)    return E_POINTER; *RibbonXml = SysAllocString(    L"<customUI xmlns=\"http://schemas.microsoft.com/office/2006/01/customui\\"\\>"    L"<ribbon>"    L"<officeMenu>"    L"<menu idMso=\"FileSendMenu\">"    L"<button id=\"OfficeButton1\" imageMso=\"HappyFace\" label=\"Happy Print\" description=\"Prints a random joke in the footer of each document\" onAction=\"ButtonClicked\"/>"    L"</menu>"    L"</officeMenu>"    L"</ribbon>"    L"</customUI>"    );    return (*RibbonXml ? S_OK : E_OUTOFMEMORY); } </code> From what I've googled, I'm supposed to create GetImage or LoadImage callbacks. How to do this?

    C / C++ / MFC com tutorial question lounge

  • Generic Office 2007 _Application Interface class
    E eight

    Too bad. I was hoping for an _Application interface that's being shared among all Office Apps (eg:_CommandBars). Does this mean I have to create individual dll for each Office App? I saw a few com addin that's available on my Word, Excel and PowerPoint. I don't think they have 3 separate dlls. Any idea how they are doing it?

    C / C++ / MFC question c++
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups