Link label with a program

be58d2003

Regular
Joined
Mar 23, 2003
Messages
81
Location
Antioch, California
My question...

I am using VB. NET and know/understand how to make the link label feature work. But, my question is... I the label I am thinking about in particular, is a link to my email address (tech support). Is there any way I can insert code into my program, that will automatically fill in the subject line also?

Thanks In Advance,
Sean
 
well, set the label of the text to whatever you want.
but make sure you listen for the OnClick event and inside the method that handles the event, do something like

System.Diagnostics.Process.Start("rundll32.exe", "url.dll,FileProtocolHandler mailto:emailaddress@goes.here?subject=Enter Subject Here");
 
Back
Top