Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I set Network Management settings or make the dialog appear in C# on Windows Mobile?
    text
    copied!<p>In Windows Mobile, when you open Internet Explorer and type in a URL that your device can't connect to, you are notified of this and prompted to (manually) navigate to the screen where you can actually do something about this as a user (Network Management), like so:</p> <p><a href="http://www.freeimagehosting.net/uploads/d3d95e00d2.gif" rel="nofollow noreferrer">alt text http://www.freeimagehosting.net/uploads/d3d95e00d2.gif</a></p> <p>However, if a .NET Compact Framework application tries to connect to a webservice and the webservice URL is not reachable, the "Cannot Connect" bubble does not appear, and instead the call to the webservice just fails. Sometimes we end up talking customers through <em>this</em> process on the phone:</p> <p><a href="http://www.freeimagehosting.net/uploads/e74a0d4230.gif" rel="nofollow noreferrer">alt text http://www.freeimagehosting.net/uploads/e74a0d4230.gif</a></p> <p>and then they still have another 2 steps to go.</p> <p><strong>Question 1: Is it possible to programmatically control (in C#) what the two ComboBoxes on the Network Management screen are set to?</strong></p> <p>Usually fixing a customer's connectivity problems involves fiddling with these two boxes until they can connect. The problem is that because customers can freely alter their network stuff here themselves, I often don't know what to tell them to set it to ("it says what?" is something I say a lot). From my searches so far, it looks like <strong>DMProcessConfigXML</strong> is the way this would be done, but all I know so far is that you call this method and pass it some XML.</p> <p><strong>Question 2: Is it possible to programmatically (C#) trigger the "Cannot Connect" bubble, or better yet is it possible to programmatically make the Network Management screen appear immediately?</strong> </p> <p>Presumably, if my code can't see the webservice URL it could trigger the bubble or go directly to the screen.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload