scooter21
September 27th, 2001, 09:04 AM
I have created a word document through a VB5 app, and have saved it to the network (Win2K clients and servers). Regardless of who logs in, the document is created, but only I can open the file, everyone else gets the 5981 error when they run the code. Below is a sample of the code and the line that causes the error is marked.
public withevents wd as Word.Application
public withevents docWord as Word.Document
set wd = new Word.Application
'**error occurs below**
set docWord = wd.Documents.Open(gsPath & gsFile)
The Sys Admin says that the permissions on the folders where the documents are created are the same for myself versus the other users, and I confirmed it. I have deleted the normal.dot (which is listed as the main cause for this error) but to no end. Also, when I log on to another persons machine, there is no error, but it does occur when they are logged on. Any help with this would be appreciated. If you have any questions, feel free to ask, I'll be checking back frequently.
Thanks,
scooter
public withevents wd as Word.Application
public withevents docWord as Word.Document
set wd = new Word.Application
'**error occurs below**
set docWord = wd.Documents.Open(gsPath & gsFile)
The Sys Admin says that the permissions on the folders where the documents are created are the same for myself versus the other users, and I confirmed it. I have deleted the normal.dot (which is listed as the main cause for this error) but to no end. Also, when I log on to another persons machine, there is no error, but it does occur when they are logged on. Any help with this would be appreciated. If you have any questions, feel free to ask, I'll be checking back frequently.
Thanks,
scooter