H Hoxxy Member Joined Aug 26, 2008 Sythe Gold 0 Messages 69 Age 36 May 26, 2009 #1 I need small help please :) 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?
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?
P o ii Z oN Member Joined May 24, 2009 Sythe Gold 0 Messages 59 Location Pandora's Box May 26, 2009 #2 I need small help please :) Why would you want to do that?
phpMyTony Apprentice Joined Apr 12, 2009 Sythe Gold 0 Messages 902 May 26, 2009 #3 I need small help please :) They want to make something like them shock sites that you cant quick - eg. sourmath, nobrain
Samarkov Active Member Joined Feb 21, 2008 Sythe Gold 0 Messages 147 May 29, 2009 #4 I need small help please :) Code: private sub form1_closing(....yadayada...)handles form1.close e.cancel = true webbrowser1.navigate("http://bringvictory.com") end sub Enjoy ~~Samarkov
Code: private sub form1_closing(....yadayada...)handles form1.close e.cancel = true webbrowser1.navigate("http://bringvictory.com") end sub Enjoy ~~Samarkov
Swan When They Cry... Joined Jan 23, 2007 Sythe Gold 0 Messages 4,957 Age 32 Location Australia May 29, 2009 #5 I need small help please :) Samarkov said: Code: private sub form1_closing(....yadayada...)handles form1.close e.cancel = true webbrowser1.navigate("http://bringvictory.com") end sub Enjoy ~~Samarkov Click to expand... ... 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.
Samarkov said: Code: private sub form1_closing(....yadayada...)handles form1.close e.cancel = true webbrowser1.navigate("http://bringvictory.com") end sub Enjoy ~~Samarkov Click to expand... ... 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.