automatic detect/establish the network connection.

pocket pc


  • 1. Alternative text input modes - how ?
    I'm looking for a way to add alternative text input modes to pocket PCs and smartphones, beyond - for example - T9, multi-tap, and standard auto-complete. Sadly, from what I've discovered so far, it seems that these modes are quite hard-coded in the system, and I've not been able to find any infos on the SDKs about ways to bypass them. Could someone please point me to any source of valuable infos on this subject ? Thanks !! Andrea
  • 2. Brainstorming help -- large XML file causing OOM conditions
    I'm importing a large (9mb 3900 customer) XML file into my application, which is built on top of SQLCE. If I chunk the data file in half, I can read it in using an XML data reader and insert the data into the database. However, I cannot read the full 9 MB file into memory, and I'm crashing before I get to the data insertion. No big surprise... However, if I can avoid chunking the file, I'd really like to. File management is always such a nightmare for customers. I'm looking into ways to reduce the size of the file in memory. There are a couple fields I can eliminate (nice to have, but we can skip them). I'm also looking into strongly typing the elements in the file--right now, there's no typing so everything is being read into the data reader as a string, and then converted as it is inserted into the db. My hope is that, by strongly typing the elements, I won't be using two bytes for every character (for instance, integers and floats will take a lot less memory than the string representation of a number). Does anyone have any other ideas? For instance, is there a different method I can use which would allow me to load one record out of the XML file, write it to the db, and then iterate? That would be the ultimate solution, but I'm not sure if it's possible. Thanks, John O.
  • 3. read-only edit controls bug in WM2003
    on WM2003, contrary to the documentation, read-only edit controls (with ES_READONLY) send to their parent a WM_CTLCOLORBTN instead of a WM_CTLCOLORSTATIC!!! a search in the KB does not indicate that this bug has been entered... so if someone from MSFT could please enter it in the KB, maybe it will be fixed some day ? thanks...
  • 4. Script on Pocket
    WSH is not available for Pocket PC, neither is VBA or VB. But Javascript is supported in Pocket Internet Explorer. Perhaps there are some general purpose scripting engines you can install, like Python. David ------ This posting is provided "AS IS" with no warranties, and confers no rights. "JJ" < XXXX@XXXXX.COM > wrote in message news: XXXX@XXXXX.COM ... > No one has any info on this ? > > JJ > > "JJ" wrote: > > > Hi All, > > > > Is it possible to script on Pocket PC 03? Is their wsh on Pocket pc 03? > > or can I use VBA?
  • 5. Type of Pocket PC?
    I need to know what type of Pocket PC my application is running on so that I can selectively work with various SDK controls. I only want to instanciate a control if I'm on the correct machine. Help? Rick Lederman

automatic detect/establish the network connection.

Postby Sean » Mon, 11 Aug 2003 04:52:44 GMT

I have noticed that Pocket IE somehow automatic connect to the network
defined in the connection setting by itself.  I want to achieve the same way
for a application I am coding.

Any instruction, how to article, or sample code are highly appreciated.

Thanks in advance.

Similar Threads:

1.Could not establish connection to network.


I am trying to create an application that consumes a Web Service in a
smart client application. I have the web service hosted in my machine
itself and it is working fine when i browse it though IE on the
machine. I am using Vista as the OS.

But when I deploy it in Emulator it gives me the excepetion saying
"Could not establish connection to the network".

I tried hitting the Web Service from the Pocket PC 2003 SE, and cannot
connect. How can I get the connection done between the Emulator and
the machine? Could you help me solve this issue please?


2.Could not establish connection to network

I developed a simple application using HttpWebRequest object ( 3-4 code rows 
:-) ).
When I run it on emulator it works fine, while when I deploy it to my device 
an error occurs: "Could not establish connection to network".
I have the same error when I try executing windows update service on the 

My device is connected with activesync and all other installed sw 
(skype,messenger,opera..ecc...) on the device can access to internet 
I tried also using wifi connection, but the same error occurs.
The appication,also, doesn't try using GPSR connection. Why?

My settings are:
In Settings->connections->select network->I set both dropdown to "My work 
Netwok".  I tried with myISP,myInternet but the result doesn't change.

Which is the problem??
Help me...

3.could not establish connection to the network

I have established a web service on a local machine.  I can call the web 
service fine using a full blown application.  I can call the web service 
fine using the PPC executable being run straight on the local machine.  When 
I run the PPC executable  on the emulator or on my device cradled to the 
local machine, I get the error "Could not establish connection to network" 
when making the web service call.  Both devices can connect to the internet 
using PIE and the application can make a cgi request to another computer on 
the network.  Any ideas?  Its got to be some kind of setting somewhere.


4.Is automatic network connection selection supposed to work ?

I have an HTC Apache. It has a CDMA phone, with data via a
'dialup' profile, and a WiFi card. So far I have failed to figure out
how to configure the thing to do what I'd have though would be
a very obvious and useful thing : just use whichever network
happens to be working. If it's associated to a WiFi AP and has
a DHCP lease, then heck let's use that connection for our
IP connectivity. However, if we're not associated to an AP
then let's go ahead and dial up that slow cell phone data

Seems like this is what any sane user would want.

Can pocketpc be made to do this ?

So far I have been making like 25 clicks to reconfigure the
thing every time I leave the office (and hence WiFi coverage).
I need to change the 'Programs that automatically
connect to the internet should use this connection...'
setting from 'My Work Network' to 'Verizon Wireless'.

(a glance at the network developer docs for CE tells me
that all kinds of stuff is possible, but it's unclear if
the necessary functionality is exposed in the WM5 PPC
edition via user UI).

Thanks in advance for your help.

5.WM5 phone edition detect mobile network connection


What is the best way to run some code as soon as the phone signs on to the 
GSM network?
Run a service? Put something in the start up folder? Get some kind of 
notification, or sit there and poll the status of the phone at some 

Same question when disconnecting from the gsm network, for example when 
device is shutting down or they disconnect their phones by other means like 
putting it into "flight mode" ?

6. Detecting Network connections on windows 5.0 mobile

7. Detecting Network Connections on Windows Mobile 5.0

8. Automatic Network Management - avoid selection of "My Work Network

Return to pocket pc


Who is online

Users browsing this forum: No registered users and 78 guest