REQ: Walkthru on compiling a C# .NET program and deploying to PocketPC

E

ESPN Lover

I've deployed ASP.NET programs without a problem. MS had a nice walkthru on
how to do this. It only required an addition of a single project and very
minimal configuration. For deploying to my PDA, I found this, but am still
very confused on how to deploy.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/netcfdeployment.asp

Can anyone give me this in plain english with easy to follow step-by-step
walkthru on how to deploy a C# .NET program to my PocketPC?

Thanks!
 
E

ESPN Lover

Yes, you must be thinking to yourself, I'm pretty stupid. I need a
step-by-step hand holding walk thru on how to do this. Consider me like a
robot, once I learn the task I can do it over and over again without a
problem. But, without exact detailed steps, this robot doesn't get going.

Like here's an example of a step-by-step walkthru I can understand. In this
example I explain how to create a new Web Application Project for C# in the
MS VS .NET 2003.
1. From the file menu in VS .NET 2003, select New, then select Project
2. From the dialog box that comes up, in the left hand pane, select Visual
C# Projects
3. In the right hand pane, select ASP.NET Web Application
4. In the lower portion of the dialog, modify the default "WebApplication1"
name to the name of project you want to create. This also becomes the name
of the sub-folder placed onto the root of your web server.
5. Click OK.

See, this is simple for a simpleton like me to follow. All I ask is for the
same type of step-by-step walkthru on deploying a C# .NET program to an
executable that can be used to install my program. MS has fallen very short
in this regard with their article.
 
N

nzpcmad

From Visual Studio,

Build - Rebuild "project". Ensure no compile errors.

Build - Build Cab File.

You have a cradle that the device sits in connected to the PC via USB
or some other way of connecting to the device ...

On the device, start Active Synch. On my device, it's called "replog".

Active Synch needs to be loaded on the PC. It will automatically
activate. Click the Explore button. You now have a folder mapping to
the device.

Navigate to the "Project"/cab/debug folder on the PC. There are a
number of cab files here. Select the one that corresponds to your
device hardware.

Drag into the Active Synch "Explore" folder. This will initiate a
transfer to the device.

When the transfer has finished, double tap the shortcut on the device.
This installs the cab file.

Then Start - Programs - "app" and you are away.
 
E

ESPN Lover

Thanks for the 411. Can you expound upon the Cab Files ? I see lots of
them there, but none that say Dell, Axim, or PocketPC? Which one do I copy
over?

And is this the same way I give the program to other people? Via the CAB
file? I've never had anyone give me a cab file to install, so that seems
pretty wierd.
 
N

nzpcmad

The Pocket PC ones are the _PPC names. You need to find out what
hardware you use. Normally, it displays this under "Control Panel -
System" or "Control panel - Version Info." So if the CPU is ARM, then
use _PPC_ARM and so on.

Microsoft supplies SP as Cab files so it is common. There are two ways
for SP. One, you download the pack to your PC, find your CAB file and
download to the device as described. Two, you download the SP with a
Windows application which installs the Cab file for you. Google the
group for "[FAQ] Clarification on SP2 and using it for development"
and you'll see more

Sorry, I don't use Pocket PC so can't be more specific.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top