CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: BobClarke

Page 1 of 80 1 2 3 4

Search: Search took 4.61 seconds.

  1. Replies
    2
    Views
    931

    Re: Can someone fill in the missing code?

    See http://cboard.cprogramming.com/archive/index.php/t-86368.html. Someone else had a similar problem.
  2. Re: how to get a other class's pointer in a working thread?

    The thread needing the pointer should have a method that accepts the pointer as a parameter so the originating can pass it.

    Also, do not pass a local pointer variable to the thread, as shown in...
  3. Re: Paint problem with a listbox created at runtime

    Problem resolved.

    The solution was to use style WS_POPUP on the listbox instead of WS_CHILD, attach a dummy menu to the listbox, use screen coordinates instead of client coordinates for displaying...
  4. Replies
    3
    Views
    707

    Re: visual C++ direction advice

    >> "...MS doesn't really develop MFC any further."

    This is not accurate. MFC is being revised to support the new Office ribbon bar, for example.
  5. Replies
    1
    Views
    726

    Re: query not executing

    "Column names over 64 characters will produce an error."

    http://support.microsoft.com/kb/178717
  6. Replies
    1
    Views
    684

    Re: visual studio 8.0 datatypes

    Try this to get started:

    http://msdn2.microsoft.com/en-us/library/323b6b3k(VS.80).aspx

    You may need to compare definitions in header files between the two compiler versions to get the details...
  7. Re: Passing dialog member variables to a class

    Add public methods to your dialog for getting the data you want, then pass that data to the other class.


    if(myDialog.DoModal() == IDOK)
    {
    std::string sSomeData = myDialog.GetSomeData();
    ...
  8. Replies
    2
    Views
    741

    Re: Inserting variable in string

    std::string s("C:\\Documents and Settings\\");
    s += user;
    s += "\\Local Settings\\Temp\\WSF141.tmp";
    DeleteFile(s.c_str());
  9. Paint problem with a listbox created at runtime

    I have a dialog with two rich edit controls side by side, and a standard edit control a little beneath the two rich edit controls. When the user begins typing in a rich edit control, it causes a...
  10. Re: in ATL #include causes error WINDOWS.H already included.

    To theSkulls:

    You replied to something that was posted almost five years ago. I doubt he is still waiting for an answer.
  11. Replies
    3
    Views
    1,445

    To compile from the command line, your...

    To compile from the command line, your environment needs settings for LIB and INCLUDE so that the compiler knows where to find headers and library files.

    Something like this:
    ...
  12. Replies
    10
    Views
    8,412

    Go to Project/Settings and select the Link tab....

    Go to Project/Settings and select the Link tab.
    On the Link tab, select category Input.
    In the Ignore Libraries field, enter libc for your release build and libcd for your debug build.

    You...
  13. Replies
    10
    Views
    1,801

    Put the variable in a header file, and #include...

    Put the variable in a header file, and #include the header file in stdafx.h.
  14. Replies
    3
    Views
    1,445

    NMake should be in your \Program Files\Microsoft...

    NMake should be in your \Program Files\Microsoft Visual Studio\VC98\Bin directory, along with about 30 other files. If it is not there, consider reinstalling VS. Make sure the directory is in your...
  15. Replies
    10
    Views
    8,412

    This can usually be fixed by playing with the...

    This can usually be fixed by playing with the order of #includes in stdafx.h. You may have to spend some time looking at various header chains to see where the conflict is coming from.
  16. Thread: WinZip

    by BobClarke
    Replies
    1
    Views
    626

    See http://www.gzip.org/zlib/ and...

    See http://www.gzip.org/zlib/ and http://www.codeproject.com/cpp/zip.asp.
  17. Replies
    1
    Views
    756

    If this is VS6, go to File View, highlight the...

    If this is VS6, go to File View, highlight the CPP file and press the delete key. Do the same for the H file. Use Windows Explorer or similar tool to delete the files from your source directory.
  18. If you put the continued string up against the...

    If you put the continued string up against the left margin, you won't have any large blank gaps

    Example:


    string longString = "This could be a very long string that \
    is continued onto the...
  19. Replies
    2
    Views
    665

    Use SetCurrentDirectory() for whatever directory...

    Use SetCurrentDirectory() for whatever directory you want.

    If you want to know where the user thinks My Documents is, use this:



    char loc[MAX_PATH];
    HANDLE accessToken;...
  20. Replies
    6
    Views
    10,724

    No, it cannot, unless you do some fancy message...

    No, it cannot, unless you do some fancy message rerouting. Windows sends the draw command to the list control, not to the owner of the list control, and it is sent for every item in every row of the...
  21. Replies
    2
    Views
    683

    Move the #includes so they come before "#include...

    Move the #includes so they come before "#include <atlbase.h>"
  22. The Microsoft Office Visual Basic Reference...

    The Microsoft Office Visual Basic Reference (VBAOUTL9.CHM) was enough for a project I did that read contact info from public folders on our Exchange server. I used Class Wizard in VC6 to generate...
  23. I am assuming that this line: pCtrl ->m_hWnd =...

    I am assuming that this line:

    pCtrl ->m_hWnd = hwnd ;
    is setting m_hWnd to the window handle of the list control from the other program. Have you verified the hande with Spy++?
  24. MSDN says this, which I do not see in your code:

    MSDN says this, which I do not see in your code:
  25. Replies
    14
    Views
    3,718

    I'm no expert in Office development, but I have...

    I'm no expert in Office development, but I have never had document creation go quickly.

    For example, in the program I'm now writing, I generate four charts in Excel, then create an 8-10 page Word...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured