Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp 5 or 6 using OLE to communicate with Outlook 98
Message
 
 
To
15/12/1998 14:45:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00167816
Message ID:
00167865
Views:
22
Sean,

On my website under Q&A, General there's an article on enum constants and a program you can use to pull the values out of the OLB files and it creates a VFP compatible .h file. I've posted the files there for Word and Excel. Also look at John Harvey's site there's a link on my links page.

>Has anyone ever used VFP to connect to Outlook via OLE? There are a couple of papers on Microsoft's site with examples(of course there VB examples), and I've had some luck creating references to the Outlook Object library (ie.. oOutlookApp = CREATEOBJECT("Outlook.Application"), but I'm having trouble creating any new items, such as mail messages,notes, etc...
>It's as though it doesn't recognize the constants provided in their help such as (olMailItem, olNoteItem, ..) which are used with the oOutlookApp.CreateItem(olMailItem) method, which would create a new mail message. Any thoughts?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform