Solved

How to "link" a label in a Help -> About form

Posted on 2004-10-04
2
245 Views
Last Modified: 2010-04-24
I've created an app in VB.NET 2003 and want to put a link to my e-mail address in the Help -> About screen.  Basically, I'd like to do something like "mailto:<my.email.address>" and have it open a new message in the user's default mail program with my address already put in (and, preferrably, a default subject and beginning message body).  I see that the System.Web.Mail seems to have the ability to do this, but every example I've found ends with the program automatically sending the e-mail.  I want the user to have a new e-mail open with certain defaults already in place, that they can then add to and send when they're ready.

Hope this makes sense, let me know if you need more info...
0
Comment
Question by:HatchIT
2 Comments
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 50 total points
ID: 12216512
Drag a linklabel from the toolbox to the form, type your emailaddress in the text,

then in the linkclickevent of the linklabel to something like this

    Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
        Process.Start("mailto:bla.bla@Bla.com")
    End Sub
0
 
LVL 1

Author Comment

by:HatchIT
ID: 12222837
Thanks for that, I never even saw that LinkLabel was an option...  :-/
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question