|
-
Jan 18th, 2000, 01:52 AM
#1
Thread Starter
Junior Member
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
-
Jan 18th, 2000, 02:06 AM
#2
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|