How to open a text file
You can use built in FileOpen()
function to open files inside the file sandbox
(MQL4\files).
FileOpen - File Functions - MQL4 Reference
- docs.mql4.com
[in] The name of the file can contain subfolders. If the file is opened for writing, these subfolders will be created if there are no such ones. [in] value to be used as a separator in txt or csv-file. If the csv-file delimiter is not specified, the default delimiter is ";". If the txt-file delimiter is not specified, then no separator is...
Jose Francisco Casado Fernandez:
You can use built in FileOpen() function to open files ins ide the file sandbox (MQL4\files).
You can use built in FileOpen() function to open files ins ide the file sandbox (MQL4\files).
Thanks dear Jose Francisco.
I need to open the window of the file. It mean open the file out of sandbox.
So I prefer to use ShellExecuteW()
Is there any functions to open a file on Windows 10 . I need to open a text file on windows using API.
I think I should use dll files buy I don't know which file and functions can open a text file by using filename on windows.