Results 1 to 5 of 5

Thread: [RESOLVED]opening a url from textbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2005
    Posts
    12

    Resolved [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.

  2. #2
    New Member
    Join Date
    Nov 2003
    Location
    Romania
    Posts
    13

    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.

  3. #3
    Frenzied Member FishGuy's Avatar
    Join Date
    Mar 2005
    Location
    Bradford UK
    Posts
    1,708

    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.

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: opening a url from textbox

    The WebBrowser control is an activex control which should be available in System32.

  5. #5

    Thread Starter
    New Member
    Join Date
    Nov 2005
    Posts
    12

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width