Thread: Hl to label

Results 1 to 6 of 6
  1. #1
    smartie's Avatar
    Join Date
    Mar 2007
    Location
    Holland
    Posts
    434
    Reputation
    15
    Thanks
    30

    Hl to label

    How to add a Hyperlink to a label?
    Can't find on google =.=
    maybe I did, but read over it xD

  2. #2
    kingkicker8's Avatar
    Join Date
    Jun 2007
    Posts
    88
    Reputation
    10
    Thanks
    1
    google for Shell http then u will find something ^^

  3. #3
    truffless's Avatar
    Join Date
    Jun 2007
    Posts
    17
    Reputation
    10
    Thanks
    0
    I dont know how to do it in Visual Basic 6 since i dontuse it i caode in Visual Basic 2005 and there you do it like this : Double click on a button or label
    to get in to its source code and paste in this code :

    Dim ps As System.Diagnostics.Process
    'to start
    ps = System.Diagnostics.Process.Start("IEXPLORE.EXE", "https://www.whatever.com")

    Uperr code will start the process and botton will specify wich process
    and where to go when open . Also

    you can schage iEXPLORE.EXE to firefox.exe to open in firefox or anyother
    and then put there a link .

    Walla ...

  4. #4
    truffless's Avatar
    Join Date
    Jun 2007
    Posts
    17
    Reputation
    10
    Thanks
    0
    One you add the upper code to a label or a button that will take tyou to a website the cose will lok like this :


    Private Sub button1.click(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs ) Handles button1.click

    Dim ps As System.Diagnostics.Process

    'to start

    ps = System.Diagnostics.Process.Start("IEXPLORE.EXE", "https://www.whatever.com")



    End Sub

  5. #5
    Threadstarter
    Dual-Keyboard Member
    smartie's Avatar
    Join Date
    Mar 2007
    Location
    Holland
    Posts
    434
    Reputation
    15
    Thanks
    30
    Any possible ways to make it both iexplorer and firefox?

    Code ain't working too... I'll google some.
    Last edited by smartie; 07-02-2007 at 07:56 PM.

  6. #6
    Ephemera's Avatar
    Join Date
    Jun 2007
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    0
    IMO, i think that just Start(http:balalalal*****m) would be enough, because it will search for the user's main browser... Or you type what he wrote and hope to the gods that either one of these happen: He has IEXPLORER or FIREFOX, or that it auto-searches for the main browser

Similar Threads

  1. [HELP]Information from a website into my Label with a click of a button!
    By Prfction in forum Visual Basic Programming
    Replies: 22
    Last Post: 06-30-2010, 08:18 PM
  2. [TUT] How to Make a button or label open e webpage [TUT]
    By XGelite in forum Visual Basic Programming
    Replies: 3
    Last Post: 11-14-2009, 02:35 PM
  3. How do I make a 'Label' a link?
    By (G)rapefruit in forum Visual Basic Programming
    Replies: 13
    Last Post: 10-04-2009, 05:24 AM
  4. [TUT]How to make a link Label
    By Pixie in forum Visual Basic Programming
    Replies: 2
    Last Post: 09-03-2009, 06:55 AM
  5. Replies: 4
    Last Post: 03-13-2008, 03:57 PM