Re: Open a document in compiled: ok, but when with standalone get message: invalid path name

2019-01-10 Thread ernie hilgers via 4D_Tech
Solved… Thank to all that gave me pointers & suggestions !! > $tDocRef:=Open document($DocPath_t;”*";Read mode) > > this is the point when I get the “file not found” error message. > > what am I missing….. ? the error was right after the “open document” command where I do a "Document to

RE: Open a document in compiled: ok, but when with standalone get message: invalid path name

2019-01-10 Thread Tai Bui via 4D_Tech
Hi, Something else to try is maybe running as Administrator. Perhaps it is a permissions issue. Also where is the file located? Maybe you can try a simple new file on the desktop and call it with a simple hardcoded method to make sure it works in the first place to confirm it may have

Re: Open a document in compiled: ok, but when with standalone get message: invalid path name

2019-01-10 Thread Koen Van Hooreweghe via 4D_Tech
Hi Ernie, Just a wild guess. Could you try without the "*"? Use an empty string or even remove the second parameter (it is optional). $tDocRef:=Open document($DocPath_t;Read mode) Are you building with the same desktop volume version? Have you tried compiled against 4D developer (without

Open a document in compiled: ok, but when with standalone get message: invalid path name

2019-01-10 Thread ernie hilgers via 4D_Tech
Using 4D v15.6 on pc W7 Made a small program, no fields are used, no tables are used or present all memory based and there is a “datafile” because 4D requires that. When running during interpreted and compiled, and open 1 particular file, using cmd “open document” there is no error message and