Can the DataHub launch an Excel workbook on startup?
Is there a way that the DataHub can launch Excel when it starts?
The DataHub can launch any application, including Excel, when starting. A use case for opening Excel when the DataHub starts is if you have a workbook with live OPC data coming from the DataHub. You can ensure the workbook is launched when the DataHub launches to minimize the steps for your operator.
Below is the sample code.
ShellExecute(0, "open", "C:\\Documents\\Data.xls", "", "c:\\", SW_SHOW);