Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement