I will post the code and then everyone can unload on it. I may have found the error. I get the too many edit windows message from Word Perfect when I pass a UNC path. (\\server\volume\...). When I pass the path using drive letters,everything works OK.
Ken Wardwell