Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Existing Outlook message modification
Message
From
09/07/2001 18:33:05
 
 
To
09/07/2001 18:28:57
John White
Micro-Oriented Software Techniques, Inc.
Phoenix, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00528408
Message ID:
00528410
Views:
16
Hi John!

Long time..

>Pardon for the density of the following questions. Have not done ANY automation with Outlook. I have an VF6 application which prints documents to FAXServe fax program through a print driver installed on workstations. The FAXServe program simply takes the document to print, makes it a TIFF file and opens an Oulook message and attaches document, and after user puts in recipient list, queues the fax on server and sends. I would like to modify that existing Outlook message (i.e. change recipient list, subject). I believe I can use the code
>
>oOutlook = GETOBJECT(,"outlook.application")
>
>to get a object pointer to Outlook session running. That's where I am lost. I need to drill down the object model to get at the open message window and modify it's properties. Can this be done? Do I need to use some ugly WIN32api call to get window handles and modify it some other way.
>
>Thanks in advance

Look in the downloads section and in particular Nigel's MAPI class. If that doesn't help, send me an email and I'll send you some code, ok?
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform