Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error loading MS Word with CREATEOBJECT() in XP
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Error loading MS Word with CREATEOBJECT() in XP
Miscellaneous
Thread ID:
00941064
Message ID:
00941064
Views:
75
I have a word automation program that has been working for years. I just found out that it crashes when running under XP. As soon as I try to load Word with this line:

oWord = CREATEOBJECT("Word.Application")

I get the error: ClassFactory cannot supply requested class.

What do I need to change and are there any other "gotchas"?
TIA
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Next
Reply
Map
View

Click here to load this message in the networking platform