Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clicking Send&Receive in Outlook
Message
De
12/03/2009 19:24:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01304787
Message ID:
01387560
Vues:
55
I'll add to this, since it took me a while to find out how easy it is to use the commandbars. For example, to Reply to the currently selected email in outlook and then Paste the contents of the clipboard into that reply, do the following. You can also use the WebBrowser activeX control to place html into the clipboard first if you wish. Powerful stuff!
m.loOutlook= GETOBJECT(, "Outlook.Application")   && get already open outlook obj
m.loOutlook.ActiveExplorer.CommandBars.FindControl(,354).Execute   && reply using explorer obj
m.loOutlook.ActiveInspector.CommandBars.FindControl(,22).Execute   && paste using inspector obj
You can see a list of the commandbar IDs here and on other sites:
http://support.microsoft.com/kb/173604

-Mark

>>Hi
>>
>>Is it possible to click the Send & Receive button in MS Outlook from within VFP?
>>
>>Any help extremley apreciated.
>
>oOutlook.ActiveExplorer.CommandBars("Standard").Controls("Send/Receive").execute
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform