Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word OLE Problems
Message
 
 
To
15/08/2000 10:02:19
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00404934
Message ID:
00404947
Views:
19
>I have a vfp app that uses OLE with Word 2000 in a mail merge.
>On my machine it works fine but on another machine it wont create the word object. The other machine has the same operating system(win98) and word 2000. Any Ideas?

Can you be specific on the error error when it won't create the Word document?

Here's one tip:

I fought a similar problem for a long time...the user had the Office app on his machine, and he used it just fine. He could double-click the icon on the desktop and it came up, worked fine, etc. But my program wouldn't instantiate Excel. The reason? My wonderful Power User (yep, one of *those*) decided to move the Office program files to another directory. Of course, that broke his icon, which he dutifully fixed. He didn't know anything about fixing that little Registry thingy, which is where Automation goes to find the EXE. ARRGH!

To see if this is the case, you might want to go to that machine and take a quick peek at \HKEY_CLASSES_ROOT\CLSID\{000209FF-0000-0000-C000-000000000046}\LocalServer32 (that's the GUID for Word 2000) and see if the path shown matches the where the EXE actually is.

This one drove me NUTS until I finally figured it out. Hope this helps.

- della
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform