Results 1 to 5 of 5

Thread: help with VB

  1. #1
    Join Date
    Feb 2006
    Location
    /usr/local
    Posts
    2,809
    Tokens
    688

    Latest Awards:

    Default help with VB

    hi im lernig VB i can make a basic program well a window with writing in it but is there a way to click text and it goes to a url because ican make a browser in it its jsut clicking the lniksi cant figer out :S

  2. #2
    Join Date
    Oct 2005
    Posts
    401
    Tokens
    0

    Default

    Use your browser like say its browser1 as its name

    Double click your text and for code put
    browser1.navigate "http://www.google.co.uk"

    Change url obviously.
    Musicicon is
    currently

  3. #3
    Join Date
    Oct 2005
    Location
    London :D
    Posts
    899
    Tokens
    0

    Default

    No, I think he means that you have the URL bar so the client can change it?
    PM ME FOR QUICK HELP ON WEBDESIGNING, CODING, AND COMPUTER PROBLEMS! I WILL BE GLAD TO HELP FOR FREE!

    I AM A GOLD HC MEMBER! 16 MONTHS! I have been on Habbo since the layout with the Newsie, and 14 of my articles were posted! I'm trusted when trading HC stuff for coding!


    Noob person (this is true):

  4. #4
    Join Date
    Aug 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,351
    Tokens
    0

    Latest Awards:

    Default

    I had 2 do 1 for my college course. Ill c if I can find the code 1 min. Ill edit this when I find it.

    FOUND!

    Double-click on your command button and enter this code:
    Code:
    Public ie as InternetExplorer
    Private Sub Command1_Click()
    Set ie = CreateObject("InternetExplorer.Application")
    ie.Navigate2 "http://visualbasic.about.com"
    End Sub


    change http://visualbasic.about.com to your desired URL e.g. https://habbox.com

    Oh sorry I thought u meant click a button on a form and it goes to desired URL lol. Sorry.
    Last edited by beer; 31-12-2006 at 08:27 PM.

  5. #5
    Join Date
    Oct 2005
    Posts
    401
    Tokens
    0

    Default

    Just lock the text box then if you want no editing?
    Musicicon is
    currently

Posting Permissions

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