|
-
Nov 24th, 2005, 04:43 AM
#1
Thread Starter
New Member
[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.
Last edited by refresher; Nov 24th, 2005 at 03:05 PM.
-
Nov 24th, 2005, 06:53 AM
#2
New Member
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.
Yet, There is so much to be done.
-
Nov 24th, 2005, 07:28 AM
#3
Frenzied Member
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.
-
Nov 24th, 2005, 10:04 AM
#4
Re: opening a url from textbox
The WebBrowser control is an activex control which should be available in System32.
-
Nov 24th, 2005, 03:05 PM
#5
Thread Starter
New Member
Re: opening a url from textbox
 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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|