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

Search:

Type: Posts; User: vcdebugger

Page 1 of 19 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: File path name has some chinese or other characters

    Thanks a lot for the response.

    Since I am part time programmer once in 5-10 years, I dont remember these details.

    Below is the code where the CString variable "m_edit_str_input_dump_file"...
  2. Re: File path name has some chinese or other characters

    Thanks for the response.
    after changing the settings to UNICODE- it started to throw errors in my other part of the code as shown below:

    : cannot convert from 'CString' to 'const char *'
  3. File path name has some chinese or other characters

    Hi All,

    I want to read a file which is present in some path which has some special characters as folder name as follows:

    C:\Test\Input\新建文件夹\Text.txt


    but problem now is with this special...
  4. Replies
    7
    Views
    1,081

    Re: Creating a Directory

    I am not able to create a directory having the following time and date format "Data MM/DD/YYYY - HH:MM:SS".

    It fails when we have characters like "/" and ":" in the directory name. any idea how...
  5. Re: Opening An Excel File in Visual C++ using Workbook.Open( ) gives an error.

    Since I am new to this it would be helpful if you point to any sample code doing this.

    Also we need to do import DLLS of some DLLs in order to import the name spaces.. like mso..DLL etc

    How to...
  6. Re: Opening An Excel File in Visual C++ using Workbook.Open( ) gives an error.

    Yes . We are setting the password explicitly for the security purpose for the xls file.

    from the code we want to open this file using the function StgOpenStorage(...) because using workbook method...
  7. Re: Opening An Excel File in Visual C++ using Workbook.Open( ) gives an error.

    I am opening it as a .xls file it self using the function StgOpenStorage(...). Any idea to open a .xls file using this function when it is password protected.

    Without password protection this...
  8. Re: Opening An Excel File in Visual C++ using Workbook.Open( ) gives an error.

    In related to this, how to open a password protected XL file in MFC



    int stgm_mode;

    if ((mode & (ios_base::in|ios_base::out)) == (ios_base::in|ios_base::out))
    stgm_mode = STGM_READWRITE...
  9. Replies
    6
    Views
    2,139

    Re: Capture mouse position

    This one returns the coordinates of the screen.

    how to convert these coordinates to window coordinates so that i can capture the mouse cursor location when moved on a CStatic control on a dialog...
  10. Replies
    12
    Views
    3,514

    Re: [RESOLVED] F1Book - Drag and Drop

    sorry for continuing in this thread itself.

    I have written the below code to capture drag and drop file names on my dialog box:



    void CDashOfflineSelMapDumpFile::OnDropFiles(HDROP...
  11. Replies
    1
    Views
    1,803

    Re: Drag & Drop for static controls

    Even I have the same question as above.

    How to control the drag and drop on different cstatic control boxes on a single dialog box
  12. Replies
    12
    Views
    3,514

    Re: [RESOLVED] F1Book - Drag and Drop

    In related to the drag and drop functionality in the above thread discussion, I have some doubts.

    I have some 4 cstatic controls on my dialog box and drag and drop functionality works randomnly....
  13. Replies
    3
    Views
    1,508

    Re: AfxMessageBox(), can it be modified?

    Even I have a similar requirement, I want to enable more buttons like I need 2 Yes buttons with different options written on them, one No button and one cancel button..

    Any idea how to customize it
  14. Replies
    5
    Views
    1,254

    Re: Number of commas

    Thanks for the response..
  15. Replies
    5
    Views
    1,254

    Re: Number of commas

    thanks a lot..

    Just in continuation with this.. how to trim a given cstring by removing all the double quotes " character in it.

    example: "qw"as"dzxc" should become qwasdzxc
  16. Replies
    5
    Views
    1,254

    Number of commas

    How to find number of commas(') in a given Cstring variable
  17. Replies
    8
    Views
    1,946

    Re: Client Maximizing

    Thanks. The solution mentioned in other post ( handling in precreateWindow() function ) worked so did not try this.
    Will keep this in mind incase if required in future will use it.
  18. Replies
    8
    Views
    1,946

    Re: Client Maximizing

    Thanks a lot .. This is working perfect!
  19. Replies
    8
    Views
    1,946

    Re: Client Maximizing

    Thanks. Its working now.

    I want my window size to be fixed and dont want to allow user to resized by streching the window frame. Any idea how to do it...
  20. Replies
    2
    Views
    1,397

    Re: How to maximize window ?

    Thanks a lot this one is working
  21. Replies
    3
    Views
    1,490

    Re: Initially maximize window

    I am trying the above method but still my window is not getting displayed in the maximised mode
  22. Replies
    8
    Views
    1,946

    Re: Client Maximizing

    Even I have the mainframe window maximizing issue.

    My mainframe window not opening in fully MAXIMIZED mode when I run my application
    ( Note: It is a single child mainframe application ).

    I am...
  23. Replies
    20
    Views
    3,098

    Re: Read from excel file

    I am getting undeclared errors for _Application, Workbooks etc.. We need to import some files related Excel application. I have Excel Office 365 version installed on my PC. Not able to find out which...
  24. Replies
    20
    Views
    3,098

    Re: Read from excel file

    Thanks very much for the response.. the #import statements in that link in post#9 does not work because I am using a different version of Excel - Excel Office 365 version and this might have the...
  25. Replies
    20
    Views
    3,098

    Re: Read from excel file

    I am getting build error for the above code.. what is the include file for using these OLE excel functions and classes like _Application, workbooks etc
Results 1 to 25 of 461
Page 1 of 19 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)