-
Hey,
I'm adding URLs to my program's about form.
My question is this, I want to add a "mailto:" command (code finished) but I also want to fill in the subject line of the email message. Such as,
to: Me@myaddress
subject: Support!
Can anyone help me? Is it even possible to do with VB?
-
I think this question is asked every day!!
Here's yesterday's...
http://www.vb-world.net/ubb/Forum1/HTML/010942.html
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
[This message has been edited by Mark Sreeves (edited 11-25-1999).]
[This message has been edited by Mark Sreeves (edited 11-25-1999).]
-
Module Code:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Button Code:
Call ShellExecute(hwnd, "Open", "mailto:emailaddress?subject=emailtitle", "", App.Path, 1)
------------------
[[email protected]]Matthew Ralston[/URL]
The Blue Link
My Home Page
-
Hey thanks,
I already had all of the code to make the URL's work, that was in my program at the time that I posted the question. All I really needed was,
"mailto:emailaddress?subject=emailtitle"
Thanks again matthewralston.
------------------
Thanks,
MiDaWe