|
|
|
start date: Wed, 08 Aug 2007 10:05:42 -0000,
posted on: microsoft.public.dotnet.framework.compactframework
back
| Thread Index |
|
1
vsciw
|
|
2
vsciw
|
|
3
Simon Hart
|
Hide Smart Device Application
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.
Date:Wed, 08 Aug 2007 10:05:42 -0000
Author:
|
Re: Hide Smart Device Application
On 8 Aug, 11:05, vsciw wrote:
> 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.
Date:Wed, 08 Aug 2007 12:02:18 -0000
Author:
|
RE: Hide Smart Device Application
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().
--
Simon Hart
http://simonrhart.blogspot.com
"vsciw" wrote:
> 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.
>
>
Date:Thu, 9 Aug 2007 00:46:01 -0700
Author:
|
|
|