P
plangla
I am trying to start the default e-mail browser automatically from a menu
item click. The code works for the web browser but not for e-mail.
This is the sample for web browser that works
Private Sub MenuItem25_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem25.Click
System.Diagnostics.Process.Start("http://www.company.com")
End Sub
This does not
Private Sub MenuItem26_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem26.Click
System.Diagnostics.Process.Start("(e-mail address removed)")
End Sub
I am not sure what is wrong. Please help
Thanks Perry Langla
item click. The code works for the web browser but not for e-mail.
This is the sample for web browser that works
Private Sub MenuItem25_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem25.Click
System.Diagnostics.Process.Start("http://www.company.com")
End Sub
This does not
Private Sub MenuItem26_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem26.Click
System.Diagnostics.Process.Start("(e-mail address removed)")
End Sub
I am not sure what is wrong. Please help
Thanks Perry Langla