ActiveX read file path
-
I have two files: scriptfile and file.txt and both in the same level in the scriptfile i call: fh = fopen("c:/folder/file.txt", 0); now my question is can I use a relative path? because the location of the file is changeable ... I tried "./file/txt" and "file.txt" but didn't work Faris Madi Nothing Comes Easy (N.C.E.)
-
I have two files: scriptfile and file.txt and both in the same level in the scriptfile i call: fh = fopen("c:/folder/file.txt", 0); now my question is can I use a relative path? because the location of the file is changeable ... I tried "./file/txt" and "file.txt" but didn't work Faris Madi Nothing Comes Easy (N.C.E.)
hi,I come across the same problem with u now.Have u solved the problem?If u do ,Can u tell me how to?
-
hi,I come across the same problem with u now.Have u solved the problem?If u do ,Can u tell me how to?
That was long time ago. As I can recall, You have to use a direct path and not relative!
Faris Madi Nothing Comes Easy (N.C.E.)