Connecting Tech Pros Worldwide Forums | Help | Site Map

How to get Outlook send email form from vb.net?

Eric Peterson
Guest
 
Posts: n/a
#1: Nov 20 '05
I need to pop up the send email form from Outlook. I
also need to populate the to field, but obviously the
user will type the message and hit 'SEND'. How can I do
this? I've been through various examples, and they're
all about automating email within vb, I only want to
automate 1/2 the process. Thanks for help.

Eric


CJ Taylor
Guest
 
Posts: n/a
#2: Nov 20 '05

re: How to get Outlook send email form from vb.net?


Well, what do you "not" want to automate.

-CJ
"Eric Peterson" <anonymous@discussions.microsoft.com> wrote in message
news:009401c3c598$833475a0$a501280a@phx.gbl...[color=blue]
> I need to pop up the send email form from Outlook. I
> also need to populate the to field, but obviously the
> user will type the message and hit 'SEND'. How can I do
> this? I've been through various examples, and they're
> all about automating email within vb, I only want to
> automate 1/2 the process. Thanks for help.
>
> Eric
>[/color]


Jay B. Harlow [MVP - Outlook]
Guest
 
Posts: n/a
#3: Nov 20 '05

re: How to get Outlook send email form from vb.net?


Eric,
Have you tried displaying the Outlook.Mailitem after you have created it &
doing your 1/2 of the process?

Something like:

' Using the Outlook 2003 PIA
Imports Outlook = Microsoft.Office.Interop.Outlook

Dim appOutlook As New Outlook.Application
Dim item As Outlook.MailItem =
appOutlook.CreateItem(Outlook.OlITemType.olMailIte m)
item.Subject = "Please finish this message!"
item.Body = "This space needs something meaningful!"
item.Display()

Hope this helps
Jay

"Eric Peterson" <anonymous@discussions.microsoft.com> wrote in message
news:009401c3c598$833475a0$a501280a@phx.gbl...[color=blue]
> I need to pop up the send email form from Outlook. I
> also need to populate the to field, but obviously the
> user will type the message and hit 'SEND'. How can I do
> this? I've been through various examples, and they're
> all about automating email within vb, I only want to
> automate 1/2 the process. Thanks for help.
>
> Eric
>[/color]


Closed Thread