Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with Outlook via COM+
Message
De
24/08/2001 00:03:02
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00548401
Message ID:
00548455
Vues:
11
>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

To add to Craig's response, you probably need to setup an Outlook account and profile for the user that the COM server runs under. Just login to the server under that user's ID and password and set the properties for the mail server and account.

HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform