|
-
Jun 18th, 2000, 03:40 AM
#1
Thread Starter
Member
Need a simple command. [earlier post requesting help]
I am in desparate need of help for a few commands to complete this project, and being a newbie at VB, this is quite a challenge.
Jim
-
Jun 18th, 2000, 04:10 AM
#2
_______
email
'launch default email program and send mail
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
Private Const SW_SHOW = 5
'form code (command button)
ShellExecute hwnd, "open", "mailto:[email protected]", vbNullString, vbNullString, SW_SHOW
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Jun 18th, 2000, 04:24 AM
#3
Thread Starter
Member
thanks for responding
Hey "HeSaidJoe"
I tried to copy what you posted then paste it into my program, but being a newbie, maybe I assumed wrong. Should I have only used part of what you typed? I got compile errors that said something like "Only comments can be something after end sub" Not sure what that mean't cause it wasn't after end sub. Oh yeah, I did change the e-mail address part to mine [email protected] but it still gave the same message.
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
|