On a CE terminal

Previous chapterNext chapter Show allShow all    Hide allHide all

As Windows CE does not support VBA, the way described above is not possible on a CE terminal. But there is a possibility to execute tasks event triggered also here.

A task with the Start type System start is created. This task is automatically started with the Runtime. And this task gets the Priority Main process so that it runs in the same thread as the Runtime. Now bit variables are linked to that task, then will execute other tasks event triggered. With the following statement the task can be started:

Parent.Item("Taskname").Run

The task is automatically started in an own thread if in the configuration the Priority Main process has not been set.

With the following statement the task can be stopped at any time:

Parent.Item("Taskname").Stop