Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() problem - VFP9 SP1 issue?
Message
De
06/01/2006 23:10:11
 
 
À
06/01/2006 19:34:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01084239
Message ID:
01084344
Vues:
13
>You might try the following:
>
>oWord = CREATEOBJECT("Word.Application.11")
>
>This might work -- you can check your registry under the HKEY_CLASSES_ROOT for this entry. "Word.Application" entry should point to the "Word.Application.11" entry, if not that might be why it isn't working.

Greg, thanks. I did as you suggested, and I get exactly the same error. I checked the registry and found that Word.Application and Word.Application.11 both point to Word.Application.11

AHA!!! Then I checked the information under the guid and discovered that the default under "InProcServer32" was "C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll". Excel's guid did not have that default, so I removed it, and the world is once again spinning in greased grooves. It's that damned Symantec again. I swear they think they own my computer.

Thanks for pointing me in the right direction.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform