Hyperlink in VB code

I want to add a hyperlink into my vb code, does anyone know how to do it?

here's my code
 LoginErrorDetails.Text = "Your password is incorrect. Please try again and remember that your password is case sensitive. Your account will be locked if you fail 5 login attempts. We recommend that you click on the Reset Password link after 4 unsucessful attempts."
Who is Participating?
ToFroConnect With a Mentor Commented:
1. Add a LinkLabel control(myLinkLabel) to your form, set the url as its Text property
2. Handle the LinkLabel controls LinkClicked Event and use this code:
     myLinkLabel.LinkVisited = True

ToFroConnect With a Mentor Commented:
Or in your case you could set the Text Property of the LinkLabel to "Reset Password" and simply
open the url you want like this:


The Process.Start method is actually used to start a process, but using a url as the parameter will open the default web browser.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.