Internet Connectivity from WM5.0 Emulator *without* ActiveSync
I've been asked a few times recently about setting up Internet connectivity with the WM5.0 emulator; I usually point people to this post: http://blogs.msdn.com/akhune/archive/2005/11/16/493329.aspx . However, if you want to do it without ActiveSync..
Update: In reponse to a few comments, I have updated some of the steps, and added a disclaimer:
-This solution is neither recommended nor supported by Microsoft (although I got it to work and use it frequently)
-I take no responsibility for the state of your emulators before, during, or after you implement this configuration
-For best results, I suggest that you have only once instance of Visual Studio 2005 open and that you hard-reset your emulator (being certain to purge any saved state) after every configuration change.
1.Install the Virtual Machine Network Driver for Microsoft Device Emulator.
2. In Visual Studio 2005, open Tools>Options. Select Device Tools >
Devices. Then select the 'Windows Mobile 5.0 Pocket PC Emulator' and click the Properteies button
3. Change Transport in the Emulator properties to 'TCP Connect Transport'. Then click the 'Configure' button. You can then set an IP address (one valid for your network); although I have found that the emulator retrieves one on its own from from DHCP, if that is available. Additionally, I have found that if you leave the IP as 127.0.0.1, you may be unable to deploy.
4. Click the Emulator Options button. In the Emulator Properties dialog that opens, select the Network tab. Make certain that the 'Enable NE2000 PCMCIA network adapter and bind to:" box is checked and that you have selected the correct network adapter of your computer.
5. OK your way out of these dialogs
6. Start the emulator. Start > Settings > Network Cards
7. Tap NE2000 Compatible Ethernet Driver. Select either 'Connected network card" or one of the adapters listed [that has a valid network connection]. Tap OK (and tap OK on the dialog that comes up).
8. Make certain that the 'My network card connects to:" drop-down is set to 'The Internet'
9. Clear any saved state from the emulator and hard-reset it.
10. Open up Internet Explorer Mobile and enter your URL...
-Nino