Re: Windows Mobile 5, GPRS: How to DISABLE the "Cannot connect" popup/ balloon/message ?
- From: "Peter Foot" <feedback@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Mar 2008 18:52:09 -0000
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@xxxxxxxxxxxxxxxxIf 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@xxxxxxxxxxxxxxxxxxxxxxxHi 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
.
- References:
- Prev by Date: eVB Barcode Scanner Focus Distance
- Next by Date: RE: Correct provisioning of SDK certs on WM6 for service to autost
- Previous by thread: Re: Windows Mobile 5, GPRS: How to DISABLE the "Cannot connect" popup/ balloon/message ?
- Next by thread: How to register ATL dll on WM5 using VS2005
- Index(es):
Relevant Pages
|