Product: | Elvis |
Version: | all |
Booth: | 2004-03-17 |
Summary
You can start any other program in the event processing of the operator station. For this purpose, the Windows function “ShellExecute” is used. As examples, the attached project opens a file in Notepad, a file in Excel, and a Web page. In the example, the page processing of the page is used. It may also be useful to use the operator station’s global event processing. Of course, other programs can also be executed.
Details
Prerequisite: You must have installed the desired program (for Internet access: a web browser) – logo.
Download the sample project and give it a try. Vary the tag (additional info) of the controls. Take a look at the page’s event processing. In the form/(global), the essential function “ShellExecute” is declared so that we can use it. There is also a separate function “exec” implemented, which gets our command from the tag, decomposes it and calls ShellExecute.
The project (from database version 1.8 (i.e. after Elvis 2.0.003): shellexe.zip (107kB).
A similar example for older Elvis versions: web_link.zip (118kB).