Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() problem - VFP9 SP1 issue?
Message
From
06/01/2006 23:10:11
 
 
To
06/01/2006 19:34:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01084239
Message ID:
01084344
Views:
12
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform