-
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
-
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