I am opening the new browser from within VB code. I would like to target the same browser on the consecutive executions of the program. How do I keep track of the opened browser and target it. I can use the Browser setting ("Reuse browser for launching shortcuts") but I can't always control the user's set up.
Thanks
Private Declare Function ShellExecute Lib "shell32.dll" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpszOp As _
String, ByVal lpszFile As String, ByVal lpszParams As String, _
ByVal lpszDir As String, ByVal FsShowCmd As Long) As Long
lAns = ShellExecute(ByVal 0&, "open", URL,,,SW_SHOWMAXIMIZED)
Thanks
Private Declare Function ShellExecute Lib "shell32.dll" Alias _
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpszOp As _
String, ByVal lpszFile As String, ByVal lpszParams As String, _
ByVal lpszDir As String, ByVal FsShowCmd As Long) As Long
lAns = ShellExecute(ByVal 0&, "open", URL,,,SW_SHOWMAXIMIZED)