Hi Anonymous,
this works for me, put a button on a form and add this code:
Private teller As Integer = 0
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles _ Button1.Click
teller += 1
If teller = 1 Then
System.Diagnostics.Process.Start("http://www.google.com")
Else
System.Diagnostics.Process.Start("http://www.yahoo.com")
teller = 0
End If
End Sub
hth Greetz Peter
--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning.
"Anonymous" <an*******@noemail.com> schreef in bericht
news:#w**************@TK2MSFTNGP12.phx.gbl...
How do I start Internet Explorer a second time in the same window,
replacing the first displayed html-file. Don't want to start a new
instance, don't want to mess with users (registry) settings.
/ .