Launch default browser in a new browser window
Hi all,
I want to launch default browser in a new browser window by using the code below:
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
call ShellExecute(0&, "open", "www.google.de", vbNullString, vbNullString, SW_SHOWNORMAL)
But if there are browser windows opened, this code does not open a new browser window. The current open window is used. Does anybody know how to open a new browser window to launch default browser?
Thanks in advance,
Haiying
|