Page 1 of 1

Re: problem with fileopen()

Posted: Fri May 09, 2014 12:27 pm
by admin
Dear Sir,
FileOpen function is used for open file for updating (reading and writing).

If you want open a pdf file use this function:

Code: Select all

function void projet1_maintenance()
    string filePath = GetProjectPath() + "\feuille_de_maintenance.pdf";
    TPageOpen("Maintenance");
    ShellExec(filePath, "open", "", 0, "", "");
    TPageCloseByName("Projet1");
end
Best Regards