Quentin Mayberry

I have created an application for a pocket pc using Visual Studio 2005 version 8. It works fine on the emulator, but when I create a cab file and use that to install on my pocket pc, it self extracts, and places an icon in the programs. When I click on it nothing happens.

I suspect this might be something to do with the compact .net framework. Should that automatically load on to the device, or do I have to manually load it before the program will run



Re: Smart Devices VB and C# Projects Why won't my application run?

Ilya Tumanov

Yes, if your application uses NETCF, it needs to be installed on to device. Whatever it's done manually by your users or automatically via desktop installer created by you ¨C it¡¯s up to you.






Re: Smart Devices VB and C# Projects Why won't my application run?

QM

Yes, that is definitely the problem.

Are there any samples of how to create an installer that will load the NETCF I have been looking around the forums and can't seem to find anything. they all say you can create one, but don't give a sample of how to do it!





Re: Smart Devices VB and C# Projects Why won't my application run?

Ilya Tumanov

This is premier article on the subject. It does not explicitly include NETCF deployment, just the application CAB. It is, however, no brainer to cut and paste few lines of code and do exactly the same thing for NETCF CABs which are redistributable for VS 2005 owners.

If you need more info try using ¡°deploy¡±, ¡°setup¡±, ¡°install¡±, ¡°cab¡±, "NETCF" and ¡°MSI¡± as key words in your search, I know that finds it.






Re: Smart Devices VB and C# Projects Why won't my application run?

QM

Thanks Ilya, most helpful