C
Chris Theorin
I'm pretty "out of whack" when it comes to understanding this ActiveSync
pass through setting for cradled Pocket PCs.
I find a setting combination between the Pass Through setting on the Options
the Internet should connect using & Programs that automatically connect to a
private network should connect using) on the Start > Settings > Connections
tab > Connections "app" > Advanced tab > Select Networks button > Network
Management screen of my Pocket PC device (Windows Mobile 2003 H1940 iPAQ)
(either My ISP or My Work Network) which actually allows the code below to
function and then I put the same url in the IE browser on the device and get
the 'Can't Connect' message specifying 'Couldn't connect with current
connection settings. To change your connection settings, tap Settings
(brings me to that "favorite" Network Management screen of mine).
<code>
string url = "http://compName/virDir/thepage.asp";
//string url = "http://compName.domain.com/virDir/thepage.asp"; //
fully-qualified computer name
//string url = "http://DottyIP/virDir/thepage.asp"; // DottyIP ==
255.255.255.255 style of thing
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "POST";
request.Timeout = timeout;
request.AllowWriteStreamBuffering = true;
return (HttpWebResponse)request.GetResponse();
Stream responseStream=response.GetResponseStream();
StreamReader reader=new StreamReader(responseStream);
string fullResponse=reader.ReadToEnd();
</code>
And possibly the worst part... even if there was some group of settings
where a certain "type" of URL is "guaranteed" to work in both my code and
IE... that's definitely NOT optimal. I really, really, really don't want to
try and explain to users of my application how to do all this network
configuration and I don't think that it would be very "nice" of my app to
require them to use my settings anyway. I mean I bet all of these settings
are configurable for some reason... and at some point at least one of my
users is going to want to use that combination which just turns my logic to
hell.
Any comments/examples/encouragement out there? Anyone else trying to do
something like this and having as much trouble as I am? I just get angry,
wasn't the 2003 release of Pocket PC supposed to have something which
sounded like Apple marketing ("Zero-config" internet)?
pass through setting for cradled Pocket PCs.
I find a setting combination between the Pass Through setting on the Options
Internet or Work) and both settings (Programs that automatically connect toRules tab of ActiveSync (3.7.1) on my workstation (XP SP1) (either The
the Internet should connect using & Programs that automatically connect to a
private network should connect using) on the Start > Settings > Connections
tab > Connections "app" > Advanced tab > Select Networks button > Network
Management screen of my Pocket PC device (Windows Mobile 2003 H1940 iPAQ)
(either My ISP or My Work Network) which actually allows the code below to
function and then I put the same url in the IE browser on the device and get
the 'Can't Connect' message specifying 'Couldn't connect with current
connection settings. To change your connection settings, tap Settings
(brings me to that "favorite" Network Management screen of mine).
<code>
string url = "http://compName/virDir/thepage.asp";
//string url = "http://compName.domain.com/virDir/thepage.asp"; //
fully-qualified computer name
//string url = "http://DottyIP/virDir/thepage.asp"; // DottyIP ==
255.255.255.255 style of thing
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "POST";
request.Timeout = timeout;
request.AllowWriteStreamBuffering = true;
return (HttpWebResponse)request.GetResponse();
Stream responseStream=response.GetResponseStream();
StreamReader reader=new StreamReader(responseStream);
string fullResponse=reader.ReadToEnd();
</code>
And possibly the worst part... even if there was some group of settings
where a certain "type" of URL is "guaranteed" to work in both my code and
IE... that's definitely NOT optimal. I really, really, really don't want to
try and explain to users of my application how to do all this network
configuration and I don't think that it would be very "nice" of my app to
require them to use my settings anyway. I mean I bet all of these settings
are configurable for some reason... and at some point at least one of my
users is going to want to use that combination which just turns my logic to
hell.
Any comments/examples/encouragement out there? Anyone else trying to do
something like this and having as much trouble as I am? I just get angry,
wasn't the 2003 release of Pocket PC supposed to have something which
sounded like Apple marketing ("Zero-config" internet)?