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

Search:

Type: Posts; User: azizrasul

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,950

    Re: Closing a Dialog Box

    The problem is that even when I use CreateObject, the password dialog appears. Hence I need code that will put the focus on the 'Read Only' button and press or as I have found that if pressing the...
  2. Replies
    5
    Views
    2,950

    Re: Closing a Dialog Box

    No.

    Ideally I want the Read Only button to be pressed as this opens the Excel file. The R in Read Only is underlined.
    When I manually press the Read Only button everything is as I want it....
  3. Replies
    5
    Views
    2,950

    Re: Closing a Dialog Box

    Here's the code I have so far.


    Const SW_SHOWNORMAL = 1
    Const SW_MAXIMIZE = 3
    Const WM_SYSKEYDOWN = &H104
    Const WM_SETTEXT As Long = &HC
    Const WM_KEYDOWN As Integer =...
  4. Replies
    5
    Views
    2,950

    Closing a Dialog Box

    I am using MS Access to open a Excel file which is password protected.

    I have the code that gives me the window handle value. Using the window handle value and SendMessage, I want either send a...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured