|
Posted by Peter Foot [MVP] on September 4, 2007, 6:27 am
Please log in for more thread options
I assume you are using Connection Manager? If so you need to add the flag
CONNMGR_FLAG_NO_ERROR_MSGS to your CONNMGR_CONNECTIONINFO structure. This
flag is supported on WM5.0 and later and wont display these dialogs to the
user.
Peter
--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility
>I am writing an application in C# which opens a GPRS cellular connection
>and
> sends some data to a server. Sometimes the phone is out of range and a
> notification box pops up saying that it is unable to connect. This box
> doesn't dissappear unless I click on the Dismiss button and so it stays
> there
> on the screen in front of everything.
>
> I also get a notification box appearing when it tries to connect but this
> dissappears on its own accord after a few seconds so I'm not so worried
> about
> this one.
>
> Is there a way to either prevent the notification from appearing in the
> first place or forcing it behind my application so that the user doesn't
> see
> it?
>
> I have already added eventhandlers to make the form be at the front and
> removed the menu bar but that doesn't do the trick.
>
> Is there a registry setting perhaps to stop these notifications?
>
> Thank you for your time,
>
> Bevan
>
|