|
-
Jan 13th, 2000, 02:51 AM
#1
Thread Starter
New Member
I want to put a help/register web address in the Help menu of my app. But when the user clicks on a item About..., for example, it opens the web browser to show the info. Or if the browser is already open it would open that page. I have seen other apps that use html as help, and I would like to do that.
-
Jan 13th, 2000, 04:04 AM
#2
Use the ShellExecute API to launch the Default Browser or use one that is already open, ie.
Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub mnuWebpage_Click()
Call ShellExecute(0&, "OPEN", "http://www.vb-world.net", "", "", 1)
End Sub
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
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
|