|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do you put a hyperlinked text on a blank formHow do you put a hyperlinked text on a blank form. Just a plain form
Thanks Add a linkLabel control from your toolbox.
in the click event: System.Diagnostics.Process.Start(mailto:nospam@nospam.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 "George Medlock" <georgemedl***@bellsouth.net> schrieb: Add a LinkLabel control to the form:> How do you put a hyperlinked text on a blank form. Just a plain 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/> 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
Why have a DBNull?
SQL Question typeof Process.Start("Winword.exe") problem OutOfMemory exception loading ZIP or JPEG compressed TIFs from file Outlook.Application is not defined. PIA installed and setup correctly. CSV Separator Windowless application, pls help. I'd like to get an event each time the cursor stops moving. How to debug application? |
|||||||||||||||||||||||