>I am using "adir" in a COM object (in the form of a dll file). This object is used to read another file (call it a.pdf) on another machine. If adir can find the file, it will display the link on a webpage. I found that "adir" can read a.pdf if I put it on the same machine as the dll file, but if I put a.pdf on another machine, adir won't work. What is the problem? Can't I use adir in a COM object?
I would first suggest to try the FILE() command in the com object to see if that returns true for a file that you know exist on the other machine. If it returns false then it's most likly a secuirty setting that's not allowing the com object to read the other machines drive. Might have to look at DCOMCNFG. I have a hunch that FILE() will return false also.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers