Re: Windows Mobile 5, GPRS: How to DISABLE the "Cannot connect" popup/ balloon/message ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Once you have established the connection just call the HttpWebRequest as normal, you don't need to pass a connection reference from connection manager to the web request.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"MH" <mhCH@xxxxxxxxxxxxx> wrote in message news:OlkyUbPhIHA.2540@xxxxxxxxxxxxxxxxxxxxxxx
** THANK YOU! **
Until now I didn't use the Connection Manager (directly) to initiate the connection...
But if this solves my problem... it's worth to do it!


--FYI:
I just used... (C#):
myRequest = HttpWebRequest.Create(..)
..


I have already seen some C# samples on the web how to (p/) invoke the "Connection Manager" to open the GPRS-connection manually. I assume that it will not be difficult to pass the "open connection" to the "WebRequest"-object (somehow ;->).
Will find out...

Regards,
Michael




"Peter Foot" <feedback@xxxxxxxxxxxxxxxxxxxx> wrote in message news:FE423CB6-7E59-48FD-A450-81D8D50CE46C@xxxxxxxxxxxxxxxx
If you are using Connection Manager to initiate the connection you can set the dwFlags of the CONNMGR_CONNECTIONINFO struct to include the flag CONNMGR_FLAG_NO_ERROR_MSGS.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility


"MH" <mhCH@xxxxxxxxxxxxx> wrote in message news:uXh1D6IhIHA.4740@xxxxxxxxxxxxxxxxxxxxxxx
Hi all

I developed a WinMobile 5-based application that needs to open a
GPRS-connection to make a webservice-call (1x every hour).

By applying a "registry-hack" I managed to suppress the "Connect to
GPRS..."-popup... BUT I was not able to prevent the "Cannot connect"-popup
notification window, that is automatically shown by the winmobile-device
when there is no avail. GSM/GPRS-signal.

My questions:
1) Is there a registry-entry that can be modified to suppress the "Cannot
connect"-popup?
2) Is there a way to disable/suppress the "Cannot connect"-popup by using
the API?
3) I read on the web, that the only way to suppres the "Cannot
connect"-popup is to *kill* the window programmatically AFTER it has been
shown by the winmobile-OS... PLEASE somebody@xxxxxxxxxxxx tell me that this
is not true (;->).

Thanks for your help !

Regards,
MH






.



Relevant Pages

  • Re: Windows Mobile 5, GPRS: How to DISABLE the "Cannot connect" popup/ balloon/message ?
    ... If you are using Connection Manager to initiate the connection you can set the dwFlags of the CONNMGR_CONNECTIONINFO struct to include the flag ... Microsoft Device Application Development MVP ... I developed a WinMobile 5-based application that needs to open a ... Is there a registry-entry that can be modified to suppress the "Cannot ...
    (microsoft.public.pocketpc.developer)
  • Re: Windows Mobile 5, GPRS: How to DISABLE the "Cannot connect" popup/ balloon/message ?
    ... "Connection Manager" to open the GPRS-connection manually. ... Microsoft Device Application Development MVP ... I developed a WinMobile 5-based application that needs to open a ... Is there a registry-entry that can be modified to suppress the "Cannot ...
    (microsoft.public.pocketpc.developer)
  • Re: GPRS connection W CE 5.0
    ... Simon Hart ... Visual Developer - Device Application Development MVP ... Please, any references, links or sample how to do this (Connection Manager ...
    (microsoft.public.dotnet.framework.compactframework)