Skip to content
Menu
Menu

Knowledge Base

KB050013 | START ANOTHER PROGRAM

KB050013 | START ANOTHER PROGRAM

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).

Support Area

KB050013 | START ANOTHER PROGRAM

Knowledge Base

Here you will find answers, solutions to problems and examples of our products.
KB050013 | START ANOTHER PROGRAM

Case Studies

Successful in use: practical examples of our products and individual developments.
KB050013 | START ANOTHER PROGRAM

Support

Describe your concern using our support form.
KB050013 | START ANOTHER PROGRAM

License registration

Register your Elvis license!

IT GmbH · An der Kaufleite 12 · D-90562 Kalchreuth

© Copyright 2024. IT GmbH | Webdesign by Appear Online