Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27025

Mobile Emulator Woes

$
0
0
Hi Guys

I ran into an issue with the Windows PPC emulators over the last few days and can't for the life of me figure out what is going on.
I have been writing mobile apps for years and never ran into this before.

I have an app written in VB2005 targeting Windows CE. This app uses the sockets class to transmit data to a server on a PC. The code is tried and true, reused in lots of different apps.

The other day I was testing and the app was sending data just fine then suddenly it stopped working on the emulator. By this I mean that out of the blue it was unable to connect to the host PC which in this case is the same PC the emulator is running on. I tried several different things restarting the IDE, resetting the emulator and so on but no matter how hard I tried I was not able to get a connection to the server program.

I moved to another pc and made a copy of the app which I then tried in VB2008 and it failed to connect using the emulator on that PC as well. hmmm... this had always worked in the past so I am stumped.

I have a demo to do tomorrow so rather than bang my head I tried a couple of more different things. I loaded the device emulator manager then used it to launch the emulator and connect to active sync, copied and installed the .Net framework and my app and tested it. Worked like a champ. I ran a few tests and was happy with the results then I went to get some coffee. On the way back to the PC I get a message "Windows Explorer has stopped responding" My server is still running, the emulator is still running and both are still working sending data whenever I click the button but I restarted the PC to get Explorer back.

So after restart when I try to get the device emulator to connect to active sync the connection fails and says the device type is not recognized. I tried several things same result. I then cleared the saved state and did a hard reset on the device emulator. It was then able to connect to active sync. I copied over the framework and installed it and then it would not connect again. :(

I then moved to yet a different PC running XP in a VMWare player session under Windows 7. I did basically the same thing there using the device emulator manager and loading the files. Everything seemed to work fine though it was much slower running under the VMWare player than on the other PCs but at least it was working. Since I have the demo to do I just left everything running and suspended the session so I could use it as a fall back if needed but what I really want is to figure out why the emaultor on my development PC suddenly can not establish a TCP connection to my server program clearly it is not the code so .....

Any ideas what I could try to get past this issue?

Viewing all articles
Browse latest Browse all 27025

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>