How do I make a program that has a button and when you click the button the window with the button closes and opens up a web browser window in vb 2010?How to make a button activated web browser in vb 2010?
Create your button and in the click event enter the Shell function. Go here for syntax and more info.
http://msdn.microsoft.com/en-us/library/鈥?/a>
By default, the Shell function runs the program asynchronously. This means that a program started with the Shell function might not finish executing before the statements following the Shell function are executed. If you want to wait for the program to finish before you continue, set Wait to True. (If not, just end your VB app).
No comments:
Post a Comment