[RESOLVED]opening a url from textbox
hi, i am pretty new to VB 2005 express so sorry if i dont understand some things.
Ok, i have a text box where i want a user to write in an URL address. Then i have a button that will go to that URL, now how would i go about to do that? Now, if you could please tell me how to do that wit hthe following code, i would be grateful.
Of course this has nothing in it yet (i started a day ago in VB) and i still need to learn many useful commands (one is to close the program, if you know please tell me how) thanks. I also work much better by reviewing others codes which is why i am asking for an example on how to do it.
Re: opening a url from textbox
Put this in the event you want to go to url address:
Process.Start(YourTextbox.text) 'yourtextbox.text contains the actual address.
Re: opening a url from textbox
What if you put a web browser control on the form, I dont know how but you could have it displayed in there.
Re: opening a url from textbox
The WebBrowser control is an activex control which should be available in System32.
Re: opening a url from textbox
Quote:
Originally Posted by andioliver
Put this in the event you want to go to url address:
Process.Start(YourTextbox.text) 'yourtextbox.text contains the actual address.
thanks, that worked