Making the hyperlink work

Discussion in 'Programming General' started by Riddick, Oct 26, 2007.

Making the hyperlink work
  1. Unread #1 - Oct 26, 2007 at 2:09 PM
  2. Riddick
    Referrals:
    0

    Riddick Guest

    Making the hyperlink work

    I have made a word for a hyperlink, but how do i actually make it open a web page, ive looked at the properties but its none of them in their.

    I am using VB2005 express edition, just to make it easier for you.

    Reason i am trying to do this is so i can make a program for my school where they can click different buttons on my program and load different pages.
     
  3. Unread #2 - Oct 26, 2007 at 7:45 PM
  4. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    Making the hyperlink work

    its actually very simple just requires a little code =)

    first rename the linklabel to whatever you would like its name to be most likely it will obviously be the name of the website.

    now for the coding, double click on the linklabel and add this code

    Code:
    dim browser as webbrowser
    browser.navigate("http://www.yoururlhere.com")
    im glad i could help =)
     
  5. Unread #3 - Oct 26, 2007 at 8:59 PM
  6. Riddick
    Referrals:
    0

    Riddick Guest

    Making the hyperlink work

    I dont know very much here, but after Swan helping me, that dont look like VB2005 express edition.
    Code:
    Process.Start("http://www.MYURL.com")
    ^.-does that look familiar?
     
  7. Unread #4 - Oct 26, 2007 at 9:09 PM
  8. skate4lifee
    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0

    skate4lifee Active Member

    Making the hyperlink work

    yeah i am sorry, process.start( ) will work use that code mine is wrong i didn't even test mine but it is VB 2005 express. lol sorry use the code Swan gave you.
     
< >! RuneScape HighScores !< | Multi-Threading Question >

Users viewing this thread
1 guest


 
 
Adblock breaks this site