Results 1 to 2 of 2

Thread: Disappearing window

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Location
    Rijswijk, Holland
    Posts
    25

    Post

    Hello VB programmers,

    When I call my email with the next line:

    URL = "http://www............htm"
    Success = ShellExecute(0&, vbNullString, URL, vbNullString, "C:\", 1)

    the calling window is disappearing and don't come back.
    Can some one give me a solution to keep this window?

    Regards,

    Ingrid

  2. #2
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207

    Post

    Not sure what you mean ... but try the following:

    Success = ShellExecute(hwnd, "Open", URL, 0&,0&, SW_SHOWNORMAL)

    Where "Open" can also be explore to open windows explorer at a particular drive, and the flag "SW_SHOWMAXIMIZED" is any of several constants. Here's what they are:

    SW_HIDE, SW_MAXIMIZE, SW_MINIMIZE, SW_RESTORE, SW_SHOW, SW_SHOWMAXIMIZED
    ' SW_SHOWMINIMIZED, SW_SHOWMINNOACTIVE, SW_SHOWNA, SW_SHOWNOACTIVATE, SW_SHOWNORMAL


    Hopw that helps


    ------------------
    Micah Carrick
    http://micah.carrick.com
    [email protected]
    ICQ: 53480225


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width