-
Nov 15th, 2000, 10:14 AM
#1
Thread Starter
New Member
Im currently using the following way to open a browser winodow:
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 Command1_Click()
Call ShellExecute(0&,vbNullString,"http://www.yahoo.com", vbNullString, _
vbNullString, vbNormalFocus)
End Sub
However, if i have a browser open that is pointet for eksample at altavista.com, it will take this browser and go away from altavista.com to go to yahoo.com.
It is my goal to get the program to open a new window, and then load the URL in it, istead of using a window that i might have open.
.... Cinda like in html: TARGET = "_blank"
Does anybody know how this is done?
-
Nov 15th, 2000, 03:15 PM
#2
Use the Shell function to Shell IExplorer.
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
|