MsgBox and Hyperlink

DekaFlash

Well-known member
Joined
Feb 14, 2006
Messages
117
Programming Experience
1-3
Is it possible to add a hyperlink to a msgbox or cause a msgbox button to load a web page?

Thanks,
Boulent
 
Ok, you can add a link to the msgBox but it's very painful work. So, i would suggest using a custom msgBox (form) for the purpose.
If you want to run an URL by clicking a button of MsgBox than it is simple:
VB.NET:
[SIZE=2][COLOR=#0000ff]If[/COLOR][/SIZE][SIZE=2] MessageBox.Show("click the button Yes", "", MessageBoxButtons.YesNo) = DialogResult.Yes [/SIZE][SIZE=2][COLOR=#0000ff]Then
[/COLOR][/SIZE][SIZE=2]        System.Diagnostics.Process.Start("http://www.dotnetrooms.com")
[/SIZE][SIZE=2][COLOR=#0000ff]End [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]If[/COLOR][/SIZE]

Regards ;)
 
How do I send my application behind the browser when the user clicks yes?

The reason I originally asked about the hyperlink is to direct application users to a web page when the product has expired.
Thanks
 
Last edited:
Back
Top