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.
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?
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?