By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,889 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,889 IT Pros & Developers. It's quick & easy.

How do you put a hyperlinked text on a blank form

P: n/a
How do you put a hyperlinked text on a blank form. Just a plain form

Thanks
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Add a linkLabel control from your toolbox.

in the click event:

System.Diagnostics.Process.Start(mailto:no****@nos pam.com?subject=Example
Hyperlink Test&body=Dear Crouchie,)

and then type

e.Link.Visited = True

Otherwise, there is a simple example of how to create multiple hyperlinks
from a single control in the VB.NET MSDN built in documentation

I hope this helps
Nov 21 '05 #2

P: n/a
"George Medlock" <ge***********@bellsouth.net> schrieb:
How do you put a hyperlinked text on a blank form. Just a plain form


Add a LinkLabel control to the form:

\\\
Me.LinkLabel1.Text = "Besuchen Sie mich in Berlin oder Hamburg!"
Me.LinkLabel1.Links.Add(21, 6, "http://www.berlin.de")
Me.LinkLabel1.Links.Add(33, 7, "http://www.hamburg.de")
..
..
..
Private Sub LinkLabel1_LinkClicked( _
ByVal sender As Object, _
ByVal e As LinkLabelLinkClickedEventArgs _
) Handles LinkLabel1.LinkClicked
Process.Start(e.Link.LinkData)
End Sub
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #3

P: n/a
Herfried,

The example you supplied is very simular to the one Microsoft have in their
VB.NET built in MSDN documentation, which is where I pointed the user to
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.