Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Outlook with VB6
Message
Information générale
Forum:
Visual Basic
Catégorie:
COM, DCOM et OLE automation
Divers
Thread ID:
00785273
Message ID:
00785538
Vues:
10
>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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform