Question:
How can I open an ordinary file (for example, an Excel file) via Elipse SCADA?
Solution:
To open any files via Elipse SCADA, there are two possibilities:
1. Use Global Manager’s ShellExecute function. Example:
//Opens the selected file
ShellExecute(“open”, “D:\ExcelFile.xls”, “”,”” , 1)
or
2. Use Global Manager’s Execute function. Example:
//Via Execute, inform both the program that opens this kind of file and the file itself, with a space between paths.
Execute(“C:\Program Files\Microsoft Office\Office12\Excel.exe D:\ExcelFile.xls”)