Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01184909
Message ID:
01185257
Views:
21
You can go to start>run and type regedit

Once it is open, do a ctrl+F and type in word.application. If it isn't found, but word.application.8 or .11 or some version, you can create an instance by adding that version number to your instance code -

oword=create('word.application.11')

John


>Hi John. Thanjs for your reply.
>
>Where in Regedit should i be looking ?
>I am not on site now, but I will get user to do this.
>If I do dinf it as word.appication.8 etc, what do I do ?
>Regards,
>Gerard
>
>
>
>>>Hi.
>>>I have two XP machines on a network, both with Word installed locally, one of which does Word automation fine, the other gives an error:
>>>
>>>ole error code 0x8007007e The specifid module could not be found.
>>>The offending code is: oWord = CreateObject("Word.Application")
>>>
>>>Both Word and VFP run fine on both machines.
>>>Any ideas on what might be casusing this ?
>>>
>>>Regards,
>>>Gerard
>>
>>Run regedit and see if you can find an instance of word.application on the offending machine. It might be word.application.11 or something such as that.
>>In my registry, I have several versions word.application, word.application.8, etc. The numbers refer to the versions.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform