Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating Outlook with VB6
Message
General information
Forum:
Visual Basic
Category:
COM, DCOM and OLE automation
Miscellaneous
Thread ID:
00785273
Message ID:
00785538
Views:
9
>Hi,
>
>I've done some basic stuff with VB6 in automating Outlook (i.e. sending e-mails with attachments from my program).
>
>What I'd like to be able to do is programatically create a new e-mail message with an attachment, subject and body text - and then have the program open the Outlook "new message" screen - so that the user can either type in the recipient e-mail address or pick it from one of their Outlook lists. Does anyone have some sample code that shows how this can be done?
>
>Thanks in advance,
>
>Al

Having a variable called myMsg that holds a reference to your newly created email message, add this line to make the regular Outlook message window visible:
myMsg.Display
HTH,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform