VB.Net handheld sample application cannot find.Net Compact Framework

I am working with a Symbol 8846 handheld with Microsoft CE.Net version 4.2 and Visual Studio net 2003 professional edition and want to modify an existing Motorola Sample included in the SDK EMDK M 02005.  When I run the program in Visual Studio ,net, the program "runs" as expected.  

The Symbol 8846 was discharged, so the existing configuration with the Compact Framework was probably lost.

I compile a .CAB file and copy it to the Symbol 8846.  When I run it, I get a pop-up with the title CE Setup and the text:  "The .NET Compact Framework could not be found.  Please install the .NET Framework and run the installation again."

Can you help?  How do I install the .NET Compact Framework.  I don't recall this happening before.  I believe I got around this by running another example app which configured things properly.
DLJAsked:
Who is Participating?
 
alexey_gusevCommented:
you probably need to deploy additional assemblies from Symbol SDK for scanner. I advise you to check the project references to get the full list. Most of them will be from cf.net, but some are Symbol related (like scanner)
0
 
Raymond-HolmboeCommented:
Try deploying your app from Visual Studio, if you set it up right it will install the newest compact framework version that you have on your desktop. It will even install the newest sql CE if you are using that.

Here's how: right click on your project from visual studio and select "Properties".
Then go to the "Devices" page.
Check the "Deploy the latest version of the .NET Compact Framework (including Service Packs)". Then go to the build menu, and select "Deploy".

You should see that it installs the latest .NET CF version on your handheld in the "Output" window.

HTH
0
 
DLJAuthor Commented:
THanks - trying now
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
alexey_gusevCommented:
you can go to eg

C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\WCE400\ARMV4

and copy this cab to the device and install it there.

Or as previous post suggest, run it from VS and it should deploy it (if selected in project settings of course)
0
 
DLJAuthor Commented:
Thanks for your help.  I am using visual studio .net academic 2003 - english and maybe that explains why I cannot find the ARMV4 file.

I am not sure how to set properties.  See attached file.  Am I in the correct location?
scanner.bmp
0
 
Raymond-HolmboeCommented:
Yes, click on "Build" in the menu, and then one of the options are "Deploy". Click on that, and have your device cradled first.
If there's no deploy in the build menu, just try to run it by clicking "F5". It will both deploy and run it.
0
 
DLJAuthor Commented:
THanks
THe 8846 is connected and activesync is working.
Set device to Windows CE .NET device
Set it to debug version

Set the build to VB_SCANNSAMPLE1

THen I hit deploy - shows no build errors , but nothing changes on CE Device




0
 
DLJAuthor Commented:
THen, Hitting f5 gave me an error code

There were deployment errors.  COntinue?
0
 
Raymond-HolmboeCommented:
What is the deployment error? Maybe it's not enough free disk space on the device. Look in the output window what happened.
0
 
DLJAuthor Commented:
I came across this in the notes.
.NET Compact Framework 1.0 SP3 Redistributable
Brief Description
The Microsoft® .NET Compact Framework 1.0 SP3 Redistributable includes everything you need to run .NET Compact Framework applications, including the Common Language Runtime and the .NET Compact Framework class library.

SHould I run this?
0
 
Raymond-HolmboeCommented:
Yes, you can try to manually install it on your device.
0
 
DLJAuthor Commented:
Am I right in using compact framework 1.0?
0
 
alexey_gusevCommented:
yes, since it is WinCE 4.2. You can check in your references where it is taken from
0
 
DLJAuthor Commented:
Cool- Thank you - I am making progress.  

It ran, but I got

Typeloadceexception
could not load type
symbol barcodereader from assembly

I am planning to shut down the machines and reboot.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.