Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject API based Alternatives?
Message
De
09/12/2004 17:24:09
Scott Butts
Ims Specialty Services
Twin Falls, Idaho, États-Unis
 
 
À
09/12/2004 14:26:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00968081
Message ID:
00968158
Vues:
11
>Hi All;
>
>I've run into a nasty intermittent Word automation issue involving a call to CreateObject("Word.Application"). Most of the time it works perfectly, but on three new Dell machines with Office 2003 Small Business edition, it fails with an OLE error 429. 8007007e. After looking this up in various tech areas it appears the solution is to call CreateObject with an optional second parameter of "localhost" - at least in VB. Does anyone know what I would need to do in VFP? Anyone bumped into this one yet?
>
>Any pointers appreciated - thanks!


I ran into the same issues about a week ago. Using CreageObjectEx was one solution but that would have required me to change my software, recompile and distribute. I found that there seemed to be and entry in the registry that was pointing to Norton for a macro scan or something (can't quite remember). The information is located under the following registry key.

HKEY_CLASSES_ROOT\CLSID\{000209FF-0000-0000-C000-000000000046}

The machine did not have Norton installed so I removed the key. Everything works just fine now. Let me know if this helps.

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

Click here to load this message in the networking platform