-
Jan 27th, 2006, 12:56 PM
#1
Thread Starter
Junior Member
[RESOLVED] [menu - email option code]
hi,
i have created a "menubar>help>email author"
which i have provided an option "email author"
now in order for this option to work.. what control/code will i have to use
can ny1 guide me
thnx
-
Jan 27th, 2006, 12:58 PM
#2
PowerPoster
Re: [menu - email option code]
you might want to look into MAPI
-
Jan 27th, 2006, 12:59 PM
#3
Re: [menu - email option code]
Try this. Put Email Author in a Label on your About form.
VB Code:
Option Explicit
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_SHOWNORMAL = 1
Private Sub Label1_Click()
Dim MailMe As String
MailMe = "mailto: [email]YourAddress@YourDomain.Com[/email]"
ShellExecute Me.hWnd, "open", MailMe, vbNullString, vbNullString, SW_SHOWNORMAL
End Sub
-
Jan 27th, 2006, 01:11 PM
#4
Thread Starter
Junior Member
Re: [menu - email option code]
Hello hack,
thnx agian the provided code works like a charmm.. i just blinked my eye for a sec and the answer was there.. i dont know how to thank u.. u obviously are very good at vb.. so i can only honour and thank u by asking another question
i am pming u my query.. pls help me if u can ..thnx
-
Jan 27th, 2006, 01:16 PM
#5
Re: [menu - email option code]
Originally Posted by innos
Hello hack,
thnx agian the provided code works like a charmm.. i just blinked my eye for a sec and the answer was there.. i dont know how to thank u.. u obviously are very good at vb.. so i can only honour and thank u by asking another question
i am pming u my query.. pls help me if u can ..thnx
I only answer questions that are posted on the open forums.
If the your query question is related to this question, then post it here.
If it is not related to this question, then create a new thread and post it there.
There are three reasons why you shouldn't ask a question in a PM/Email:
1. You are restricting yourself to only one person in terms of a possible answer. If you keep your questions on the open forum, all sorts of people will view it, and someone else may have something to contribute.
2. Someone else could be having the same problem, and could benefit by what happens in your question post.
3. In days and weeks to come, someone may have the same issue, and do a forum search to see if the question has been asked before, and if so, what was the answer. If everything is confined to a PM/Email, they won't find anything.
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
|