|
-
Nov 24th, 1999, 04:52 PM
#1
Thread Starter
Junior Member
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?
-
Nov 24th, 1999, 05:00 PM
#2
Frenzied Member
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).]
-
Nov 24th, 1999, 11:51 PM
#3
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
-
Nov 25th, 1999, 03:38 PM
#4
Thread Starter
Junior Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|