>>Has anybody seen this before?
>>
>>When I issue CreateObject("Word.Application"), I get the following error:
>>
>>"Class Factory cannot supply requested class"
>>
>>CreateObject("Excel.Application") works fine. I'm using Office 2003 and have been for a while now. This seems to be happening since I updated VFP9 with SP1 on Windows XP SP2.
>>
>>It's on my pc at home. I haven't updated to SP1 here at work yet - different OS anyway (Win2k sp4).
>>
>>I'm thinking I'll try reinstalling office, but I'd rather not have to, of course, so if anybody knows what this is about, I'd appreciate any help.
>
>Maybe you could try simply re-registering WinWord.EXE with RegSvr32:
>regsvr32 <path if required>winword.exe
Tried that last night. Unfortunately, that's not the answer. I should maybe also have mentioned that if I run word, and then issue GetObject("Word.Application") while it's running, I get this message:
"Moniker cannot open file"
I'm sure the two issues are related, but this was not a problem before. I'm not sure why the it works with Excel, but I was thinking that maybe it's one of those things where Word needs to be installed
after SP1 for some oddball reason.
Thanks Al