Hl to label

Posts 1–6 of 6 · Page 1 of 1
Hl to label
How to add a Hyperlink to a label?
Can't find on google =.=
maybe I did, but read over it xD
google for Shell http then u will find something ^^
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", "HTTP://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 ...
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", "HTTP://www.whatever.comⓘ")



End Sub
Any possible ways to make it both iexplorer and firefox?

Code ain't working too... I'll google some.
IMO, i think that just Start(http:balalalala.com) 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
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us