• Log in or sign up for an account here: https://www.sythe.org/login

I need small help please :)

Joined
Aug 26, 2008
Sythe Gold
0
Messages
69
Ok, when someone is closing my program, when they push the Exit button, a web page pops up in their browser. How do I do this?
 
They want to make something like them shock sites that you cant quick - eg. sourmath, nobrain
 
Code:
private sub form1_closing(....yadayada...)handles form1.close
e.cancel = true
webbrowser1.navigate("http://bringvictory.com")
end sub
Enjoy
~~Samarkov
 
Member of the Month Winner
Sythe's 10th Anniversary
Code:
private sub form1_closing(....yadayada...)handles form1.close
e.cancel = true
webbrowser1.navigate("http://bringvictory.com")
end sub
Enjoy
~~Samarkov
...

He wants to open a new webpage in their default browser.

Try using the Process.Start() function.

e.g.

Code:
System.Diagnostics.Process.Start("http://www.google.com.au/")

in your form's close event. I'm not sure if that just the address will work, but I think it opens it in your default browser.
 
duelarena.gg
Back
Top