Hide Smart Device Application

  • Thread starter Thread starter vsciw
  • Start date Start date
V

vsciw

Hi.

We have a script running on a WM5 device with a timer, and
periodically want to run an application in background (say every
minute or so). But, when the app runs you can see it appearing on the
screen before it disappears and we want it to run totally invisibly to
the user (ie no UI).

we have tried me.hide in the load event, and also creating a timer
which runs after 1ms and runs me.hide.

is there any way of hiding the app or removing the ui?

Ian.
 
Hi.

We have a script running on a WM5 device with a timer, and
periodically want to run an application in background (say every
minute or so). But, when the app runs you can see it appearing on the
screen before it disappears and we want it to run totally invisibly to
the user (ie no UI).

we have tried me.hide in the load event, and also creating a timer
which runs after 1ms and runs me.hide.

is there any way of hiding the app or removing the ui?

Ian.

I've found the smart device console application template which will do
this.
 
If you wanted a UI (for future reference) you could create your own message
pump and choose to hide the form until you wanted to show it as when using
the framework Application class, it shows the form when you initialize it
without you having a choice or even calling ShowDialog().
 
Back
Top