Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Outlook via COM+
Message
From
23/08/2001 20:19:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Help with Outlook via COM+
Miscellaneous
Thread ID:
00548401
Message ID:
00548401
Views:
57
I need some help going through all the requirements to set up a COM server which automates Outlook. I have created the object which works correctly on my local machine in VFP and as a com object but when I move it to the server it
has trouble. The server has both Outlook and VFP7 installed on it and the class works in development but not as a com server on the server itself.

The code in question it :
loApp = CreateObject("Outlook.Application")
loSpace = loApp.GetNameSpace("MAPI")
loMsg = loSpace.GetDefaultFolder(6)
The specific error I am getting during the last line :

OLE IDispatch exception code 4096 from Microsoft Outlook :
Could not complete the operation because the service provider does not support it... 1429..

Jake
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Next
Reply
Map
View

Click here to load this message in the networking platform