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

Search:

Type: Posts; User: Chetan Prakash

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    730

    GetFile() function has following function...

    GetFile() function has following function signature



    BOOL GetFile( LPCTSTR pstrRemoteFile, LPCTSTR pstrLocalFile, BOOL bFailIfExists = TRUE, ....... )


    So by default, if will fail to get,...
  2. Replies
    7
    Views
    2,741

    One more way is to #include ...

    One more way is to

    #include <direct.h>

    _mkdir( strDirectoryPath );

    - Chetan.
  3. Replies
    4
    Views
    689

    I am assuming that you have derived your property...

    I am assuming that you have derived your property pages "abc", "xyz" etc. from CPropertyPage.

    All you have to do is, in your derived class for property property page override

    BOOL...
  4. Replies
    2
    Views
    736

    What exactly do you mean by sending application...

    What exactly do you mean by sending application to background ?
    Hide / Minimize or send it behind to put focus another window ????
  5. It really should not make any difference whether...

    It really should not make any difference whether you are using one or more tables. I will be helpful to find the problem, if you can you post the query / code with the message !!!
  6. Replies
    3
    Views
    894

    Check the out following code snippet to make...

    Check the out following code snippet to make connection to a web server and post a request to ASP.



    CInternetSession *sess = new CInternetSession();
    CHttpConnection *pHttpCon=NULL;
    TRY
    {...
  7. Replies
    5
    Views
    1,556

    Try using _rmdir( const char *dirname ); Don't...

    Try using _rmdir( const char *dirname );

    Don't forget to include <direct.h> in your program.
  8. Replies
    1
    Views
    1,119

    Lookup for CFrameWnd::FloatControlBar () function...

    Lookup for CFrameWnd::FloatControlBar () function in MSDN.
  9. Replies
    3
    Views
    864

    MS Flex Grid has a method to set word wrap. ...

    MS Flex Grid has a method to set word wrap.

    CMSFlexGrid flexGrid;
    flexGrid.SetWordWrap( true );
  10. First of all, I do not know which compiler you...

    First of all, I do not know which compiler you are using. If you are using VC++ compiler, it would not even allow you to assign an empty character constant to a char variable.

    There is a big...
  11. Replies
    2
    Views
    613

    Get the client window co-ordinates using ...

    Get the client window co-ordinates using

    CRect rect;
    GetClientRect( &rect );

    Offset rect with what ever co-ordinates you need and
    call pToolbar.MoveWindow( rect );
  12. Replies
    13
    Views
    3,219

    I am not sure if you can have a MDIFrame as a...

    I am not sure if you can have a MDIFrame as a pane in a splitter window.

    Here is a suggestion. This may not be what you have in mind.

    Derive a class from CMDIFrameWnd, let it be your...
  13. Try this : Use [B]GetMenuItemInfo() to...

    Try this :

    Use
    [B]GetMenuItemInfo() to populate structure LPMENUITEMINFO for the default menu item.

    In LPMENUITEMINFO structure set the member
    [B]fstate = MFS_HILITE[B];

    Then ...
  14. Replies
    13
    Views
    3,219

    Try doing this : Override OnCreateClient() of...

    Try doing this :

    Override OnCreateClient() of your CMainFrame or CMDIFramewnd derived class and add your code in it:

    BOOL created=m_Splitter.CreateStatic(this,1,2);
    m_Splitter....
  15. Replies
    1
    Views
    1,997

    Mutex Overhead

    Hi,
    I have a multi-threaded application, which writes to a log file. Procedure which writes to log file uses mutex. There are atleast 8 threads writing to the same log file at any point of time....
  16. Replies
    4
    Views
    684

    Re: Dll sharing across applications

    Hi,
    1&gt; Component is being instantiated by a web application(ASP) on a different web server. The COM object is registered remotely on this web server.
    2&gt; There is no error message. It just hangs...
  17. Replies
    4
    Views
    684

    Re: Dll sharing across applications

    Thanks for your reply. All the dlls are in a common folder. There are 5 dlls totally. One is a ATL-COM Component which is registered in a MTS Package. This component inturn uses the other 4 Dlls....
  18. Replies
    4
    Views
    684

    Dll sharing across applications

    Hi,
    I have a pool of dlls which i am using in 2 different applications, one being a MTS application and the other a MFC application. MTS component is configured to run with a specific NT User ID. ...
  19. Replies
    0
    Views
    472

    Strange DLL problem

    Hi,
    I have a pool of dlls which i am using in 2 different applications, one being a MTS application and the other a MFC application. MTS component is configured to run with a specific NT User ID. ...
  20. Replies
    1
    Views
    831

    Re: c++ connection with rdbms

    One simple way is to use ODBC APIs. Check out SQLConnect, SQLExecDirect and related functions in MSDN. If you have the rdbms client samples installed on your system, it will provide you with some...
  21. Multiple session using CInternetSession

    Hi,
    I am trying to create new instance of CInternetSession on different threads and use them to send requests. But even with different instances on different threads, the response is coming back...
  22. Replies
    0
    Views
    628

    Post data in Web Browser

    Hi,
    I am using web broswer component to create a web browser. I need to access the post data in the BeforeNavigate() event. Can anyone help me out with some sample code.

    Thanks
    Chetan
  23. Replies
    0
    Views
    604

    Hide Standard buttons

    Hi,
    I have a need to hide the standard buttons of internet explorer window while loading a ASP generated page. Please help me out.

    Chetan
  24. Replies
    2
    Views
    521

    Re: Copy does not work!!!!!!

    Thanks a lot. It works.

    Chetan.
  25. Replies
    2
    Views
    521

    Copy does not work!!!!!!

    Hi,
    I am trying to use Ctrl+C ( Copy ) and Ctrl+V (Paste) in an Edit box on a view derived from CFormView. But this doesn't work, whereas the same works in an edit box on a dialog. Also copy and...
Results 1 to 25 of 35
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured