Hey everyone,
I want to duplicate the 6.0 functionality of calling the ShellExecute API with the mailto string. Basically it causes the default email client to open and start a new email.
Thanks!
--Ben
Printable View
Hey everyone,
I want to duplicate the 6.0 functionality of calling the ShellExecute API with the mailto string. Basically it causes the default email client to open and start a new email.
Thanks!
--Ben
Fine, I figured it out on my own anyways! :)
Code:
Dim siEmail As New System.Diagnostics.ProcessStartInfo()
Dim prEmail As System.Diagnostics.Process
siEmail.FileName = "mailto:" & Me.txtEmail.Text
siEmail.UseShellExecute = True
prEmail = System.Diagnostics.Process.Start(siEmail)