Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open Outlook Item
Message
De
01/04/2006 09:17:28
 
 
À
31/03/2006 15:30:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Divers
Thread ID:
01109515
Message ID:
01109749
Vues:
15
I want to have it already open when I .display()

You obviously did not run the code that I posted. That is exactly what it does.

Tell you what: copy and paste this this to command window and run it - there is a subtle difference between the code that you posted and the code that I posted - obviously you missed it.
oOutlook = CREATEOBJECT([Outlook.Application] )
oNS = oOutlook.GetNamespace([MAPI] )
oInBox = oNS.GetDefaultFolder( 6 )
oMsg = oInbox.Items.GetFirst() 
=oMsg.Display()
You should see the first message from your Outlook Inbox. At least I did when I tested this on my machine with Outlook 2003.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform