Link to home
Start Free TrialLog in
Avatar of tentavarious
tentavarious

asked on

developing pocket pc application vb.net?

Hello experts, I am trying to develop a pocket pc application using visual studio.net 2003 and what do I need to accomplish this?  I tried putting a textbox and button on a form but I am unable to deploy it.
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

>>I am unable to deploy it
Are you getting exceptions?

What is the target for the deploying when you run the application?  Emulator or PocketPC device?

Bob
Avatar of tentavarious
tentavarious

ASKER

Yes the error I get is One or more files from the emulator for windows ce is missing please reinstall.  

This is how I start.

I select smartdevice application from the visual studio options and fill in the app name.
Then I get asked: What platform do you want to target? I select pocket pc

Then: What project type do you want to create? I select windows application, I also tried selecting class library with the same error.

 I then add some buttons and try to deploy, I get an option to choose the device to target I select pocket pc 2002 emulator and click deploy thats when I get the error above. The other option is Pocket pc device, which gives me a general deployement error.  Am I missing a step?
Did you install all the options for the Smart Client when you installed .NET?

Bob
I thought so, I checked device manager and there is a  Virtual Pc Application Services but it is cautioned. Also i checked:

C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\ConnectionManager\Bin

And the emulator for windows ce is there.  
I tried reinstalling  it and i get this error:

A driver is installed that causes stability problems with your system. This driver will be disabled. Please contact the driver manufacturer for an update that is compatible with this version of Windows.
After further research I found this:

i found the answer.......... it is because SP2 on XP prevents simulator or
virtual device application from starting.

u need to edit the boot.ini file and remove the noexecute option and add
execute option to it

If this is true how do I do it?
That's what I was trying to remember.  *BIG GRIN*

They say that a picture is worth a thousand words:
    https://filedb.experts-exchange.com/incoming/ee-stuff/230-Edit-Boot-File.png 

Bob
This wont hurt anything correct?
What do i change the boot file to?  Your  text in the image is the same as mine
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here is my boot file and I still get the error.  When i try to run the emulator in this file location: C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\ConnectionManager\Bin\Emulator.exe.  I get the same error.  I am using vs.net 2003 with asp.net 1.1

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /noexecute=optin
How do I send you a screen shot of my error?   Every where I look it tells me to change the /noexecute=optin, not real sure what I should change it to.
Got it working, had to change the remove noexecute to make it work.  Now how do i put my app on a actual pocket pc?  Is it usb or serial communication?