Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Createobject('outlook.application') fails
Message
 
À
28/10/2011 16:07:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01527469
Message ID:
01527600
Vues:
74
A few posts that suggest the same solution, instantiating the actual OLE class version (in their case, Outlook.Application.11) instead of the generic Outlook.Application
http://www.foxite.com/archives/outlook-automation-fails-0000116266.htm
http://www.tek-tips.com/viewthread.cfm?qid=1566343
http://www.tek-tips.com/viewthread.cfm?qid=1566343

>The error message is "Class definition 'outlook.application' is not found".
>
>>Do you get an error message?
>>If Outlook is already running when you attempt to instantiate your object, and the error message is something like "RPC server unavailable", then it might be an issue with user privileges ; your application is running with different privileges than the running Outlook instance.
>>
>>>I have seen messages about this before, but can't find them. On some machines lo = Createobject('outlook.application') fails, even though Outlook 2010 is installed. Any tips?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform