Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open Outlook Item
Message
From
01/04/2006 09:17:28
 
 
To
31/03/2006 15:30:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01109515
Message ID:
01109749
Views:
13
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform