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.03 seconds.

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. Replies
    6
    Views
    1,919

    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...
  6. Replies
    12
    Views
    3,397

    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...
  7. Replies
    1
    Views
    1,517

    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
  8. Replies
    12
    Views
    3,397

    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....
  9. Replies
    3
    Views
    1,460

    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
  10. Replies
    5
    Views
    1,185

    Re: Number of commas

    Thanks for the response..
  11. Replies
    5
    Views
    1,185

    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
  12. Replies
    5
    Views
    1,185

    Number of commas

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

    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.
  14. Replies
    8
    Views
    1,869

    Re: Client Maximizing

    Thanks a lot .. This is working perfect!
  15. Replies
    8
    Views
    1,869

    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...
  16. Replies
    2
    Views
    1,352

    Re: How to maximize window ?

    Thanks a lot this one is working
  17. Replies
    3
    Views
    1,435

    Re: Initially maximize window

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

    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...
  19. Replies
    20
    Views
    3,065

    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...
  20. Replies
    20
    Views
    3,065

    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...
  21. Replies
    20
    Views
    3,065

    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
  22. Replies
    7
    Views
    1,735

    Re: CProgressCtrl problem

    I am calling 2 applications using"ShellExecute" command which decode some files and generate some new files.
    Once the control is returned from those I am using these SetPos() command to update the...
  23. Replies
    7
    Views
    1,735

    Re: CProgressCtrl problem

    I have issue with the function call:



    DOF_m_fault_progress.SetPos(100);

    There is a slight delay before the progress bar updates to 100%.
    Any idea why this issue occurs.

    Before setting...
  24. Re: How to disable/grayed-out the 'X' close button in dialog?

    where should I put.. In OnCLose() function this is going to infinite loop with msg structure showing 0x00000 value -
  25. Re: How to disable/grayed-out the 'X' close button in dialog?

    Thanks for the response VictorN and Salem_C.

    In case of any further comments from the users and I may need to use at a worker thread at any cost will try to study in deep and see to resolve that...
Results 1 to 25 of 457
Page 1 of 19 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)