Launching IE with specific URL.....

  • Thread starter Thread starter Rudy Mark
  • Start date Start date
R

Rudy Mark

I am using VB.Net. when user clicks I would like to open URL. How to do that
? Thanks
Rudy
 
Thanks,
However when I call this statement one after the other it launches in the
same instance of the browser. Is there anyway I can launch multiple sites
with single click. Thanks
 
* "Rudy Mark said:
However when I call this statement one after the other it launches in the
same instance of the browser. Is there anyway I can launch multiple sites
with single click.

You will have to turn off the "reuse browser window" option in MSIE.
 
Rudy Mark said:
Thanks,
However when I call this statement one after the other it launches in
the same instance of the browser. Is there anyway I can launch
multiple sites with single click. Thanks

I don't know how to do this.
 
Untested......Just Guessing and probably am wrong.

You might try using the AxWebBrowser control and saying:

Public newwindow as String
Public endwindowtag as String

newwindow = "<a target='_blank'"
endwindowtag = "</a>"

AxWebBrowser2.Navigate("www.yahoo.com")
AxWebBroswer2.Navigate(newwindow & "www.excite.com" & endwindowtag)

This is the HTML tag that asks a new window to open when clicking a link.
 
Try this rudy:

System.Diagnostics.Process.Start("javascript:(window.open('http://www.google
..com/'))")

it will open the new window but unforutnatley also opens another window with
that. Maybe you can find a way to close the other window programmatically.
 
Back
Top