We help IT Professionals succeed at work.

developing pocket pc application vb.net?

tentavarious
tentavarious asked
on
345 Views
Last Modified: 2010-04-23
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.
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008

Commented:
>>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

Author

Commented:
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?
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008

Commented:
Did you install all the options for the Smart Client when you installed .NET?

Bob

Author

Commented:
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.  

Author

Commented:
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.

Author

Commented:
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?
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008

Commented:
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

Author

Commented:
This wont hurt anything correct?

Author

Commented:
What do i change the boot file to?  Your  text in the image is the same as mine
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2008
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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

Author

Commented:
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.

Author

Commented:
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?
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.