Groups | Blog | Home
all groups > visual studio .net general > april 2007 >

visual studio .net general : How do I get a CE app on an HP thin clint with Windows CE 5.0.


John Austin
4/13/2007 4:24:00 PM
I have an HP 5500 Thin Clint running Windows CE 5.0. I want to write an app
for it, so I created a Windows CE Device Application in VC .Net 2005 (just a
form with a label at this point). I have copied the compiled app to the CE
machine over the network but it wont run (cannot find 'app name' or one of
its components...). Where am I going wrong? If I try Deploy to CE 5.0 device
I got no active synch, so I installed Active Synch 4.5, but this won't
connect over the network.
--
Bryan Phillips
4/14/2007 3:14:43 AM
Make sure you have installed the .Net CF framework including any other
CAB files for the functionality your application uses.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



[quoted text, click to view]
John Austin
4/15/2007 12:34:04 PM
I see, the compact framework does not come with CE 5.0. But I now have
another problem - in the article 'How to: Connect to Windows CE Device
Without ActiveSync' it tells you to copy files from '\Program Files\Common
Files\Microsoft Shared\CoreCon\1.0\Target\wce400\<CPU>'. The device has a VIA
Eden ESP processor, but none of the folders in 'wce400' look anything like
VIA Eden. Any ideas?
--
John Austin


[quoted text, click to view]
Bryan Phillips
4/16/2007 1:23:08 AM
You will need to use the x86 version of the .Net CF which is kind of
weird because I have never seen a build of Windows CE targeted at x86
chips.

If you don't see x86, make sure you have the emulators installed. They
use that version since they run on your workstation and its x86
processor.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



[quoted text, click to view]
John Austin
4/16/2007 1:46:03 AM
Thanks for the help Bryan, but yet more trouble. When I install the CAB on
the HP, firstly it says there is not enough disk space (which there is), then
it installs anyway (and my 'program' actually runs!) but after a reboot I am
back to where I started (suggesting an install in RAM). When I tell it to
install in 'Hard Disc\', the install program creates a folder, installs the
files, then at the end, the install deletes them all again, however my
program will run until a reboot even though the install program has removed
the files (its as though at the end of the install they are moved to a
volatile location). Any thoughts on this one?
--
John Austin


[quoted text, click to view]
John Austin
4/16/2007 8:04:01 AM
Cold.

There is a RAM Windows folder and a non-volatile Windows folder at Hard
Disk\Ramroot\Windows.

When I install the cab to a folder on the 'Hard Disk' (=Flash Memory), the
files are copied in and then moved to the volatile windows folder, leaving
the installation folder empty. I need to get the install to put the files in
the non-volatile Hard Disk\Ramroot\Windows folder instead, but I have no idea
how.

Best regards,
John
--
John Austin


[quoted text, click to view]
Bryan Phillips
4/16/2007 2:44:01 PM
Is this a cold or warm reboot? Warm reboots should retain the files.
Cold reboots will only retain the files if you store them in the
non-volatile part of RAM which is now supported by CE in version 5.0.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



[quoted text, click to view]
Bryan Phillips
4/17/2007 1:43:10 AM
In the CAB file, there is a setup XML file that you can modify to put
the files where you want them. The XML is not overly complex so you
should be able to eyeball it and make your changes.

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



[quoted text, click to view]
AddThis Social Bookmark Button