Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm hoping somebody here can give m 1

Status
Not open for further replies.

MadTown

Programmer
Jun 5, 2001
81
US
I'm hoping somebody here can give me hand. I have a client running Windows 98 with Word 2000 installed. My program uses Word Automation to create a document the code is as follows.

Code:
loWord = CREATEOBJECT("Word.Application")
loDocument = loWord.documents.add()

The problem is that Word is opening but for some reason when it goes to create the document it is generating a Member Documents does not evaluate to an object error.
This is working fine at a hundred of different clients sites ranging from Windows 95 to XP pro but for this one client it is not working. I did ask the client if he was running any Anti-Virus Software (because I have run into problems with Norton before) and he said not that he was aware of and that doesn't seem to be the problem. Can anybody give me an idea as to where to look?


 
Can anybody give me an idea as to where to look?

Older version of Word? Below '97?
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thanks guys,
First thing I had him try was a reinstall of Word and I verified he has Word 2000
 
All I can say is if the same code is running at a hundred of different clients sites ranging from Windows 95 to XP pro , it would incline me to believe it is a problem with either the install of word, or his pc.
Have you or he done all the normal cleanup stuff on his pc, like defrag, scandisk, ....
Was the reinstall of Word an uninstall and reinstall or just a reinstall?
It may be a Microsoft call is needed, or a pc support call.
Dave S.
[cheers]
 
Thanks Dave,

you've given me some stuff to start with. I'm having him do an uninstall and reinstall And if that doesn't work then I'll be giving Microsoft a call. I'll let you know if that does the trick or not.
 
Well, I had him uninstall/reinstall did a scan disk and defrag and still not working. I'll be calling Microsoft now :-(
 
Just want to give an update so if anyone else should run into this problem. They'll be able to fix it. The issue was a wrong version of oleaut32.dll existed on the computer that had the problem. Apparently the version that was on the computer was for XP only.

The problem was repaired with mcrepair.exe which can be downloaded at


Here are two Knowledge Base Articles that describe the problem:


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top