Create/Write File (Txt/Cvs) Error 5002: Failed to Open

Back to topics list To post a new topic, please log in or register
avatar
24
c0ntr0x 2014.07.16 00:11
 

Got it ty u very mutch :)

avatar
13006
WHRoeder 2014.07.16 00:44 #
 
  int file_handle=FileOpen(TerminalInfoString(TERMINAL_DATA_PATH)+ InpDirectoryName + "//"+InpFileName,FILE_READ|FILE_WRITE|FILE_CSV);
  1. FileOpen - MQL4 Documentation "The name of the file can contain subfolders" File open already has the data path to the files directory.
  2. Only one slash separates directories
avatar
24
c0ntr0x 2014.07.16 00:59 #
 

Got it ty u very mutch :)

avatar
13006
WHRoeder 2016.03.28 20:30 #
 
4XNZ: Something must have changed.
If it had changed then it would have worked, but it doesn't work so nothing has changed.

Back to topics list  

To add comments, please log in or register