ppc2003 but which platform to use - win ce or ppc2003 ?

Z

Zordiac

Started looking at vs.net 2003 and am a bit puzzled as to what
platform to use for developing for ppc2003. I did assume it was win ce
but there is also ppc2003. If I create a wince project there does not
appear to be a way to default the form size to the ppc2003 desktop.

I created a new project with a smart device application template and
was then faced with a choice of platform ie Pocket PC or Windows CE. I
choose win ce (as ppc2003 uses win ce). But when a form appeared it
was much larger than the ppc screen. And there does not appear to be a
way to default this to the size of the ppc desktop. The application
however worked on ppc2003. I then switched to deploy to ppc and this
also worked. So I created a new project for pocket pc. This also
worked on the ppc2003 but it does not allow you to deploy to a win ce
platform. I then tried the emulator and oh dear it is for ppc2002! So
I then downloaded ppc2003 sdk. Interestingly this only adds extra
emulators ie still left with the one "pocket pc device".

Advice and recommendations for books, online tutorials etc would be
much appreciated (and yes of course I can search online but it does
not hurt to obtain others opinions does it now).
 
M

Maarten Struys, eMVP

To develop for a PocketPC you should select PocketPC in the App Wizard
because that gives you the correct form size + menu's at the botton instead
of on top (which is the case for a WinCE device). The beauty of the .NET CF
is that it is platform independent, so applications will run on more
platforms.

Here are a few links to interesting stuff:
http://samples.gotdotnet.com/quickstart/compactframework/.

To find answers to many frequently asked questions you should take a look
here:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/faq/default.aspx.

If you want to find out more about the differences between different
Windonws CE platforms you can take a look here:
http://www.opennetcf.org/forums/topic.asp?TOPIC_ID=317

--
Regards,

Maarten Struys, eMVP
PTS Software bv

www.opennetcf.org | www.dotnetfordevices.com
 
Z

Zordiac

Many thanks for the advice Maarten.

I have another problem in that I can no longer bring up the form
designer! I had this the other day but thought I has screwed the code
up somewhere but I dont think this is the case.

I cannot see any mention of this in faqs or elsewhere.

I have a VB + smartdevice project that still works fine. Except that
in solution explorer Form1.vb now has a vb icon and not a form icon.

I can no longer invoke the designer : it is not under view menu option
and shift+f7 does not work and nor does 'open with'.

I can replicate this but it is not consistent. For example I created a
new VB + smartdevice and put the following lines at the top of
Form1.vb code :

Option Explicit On
Option Strict On
Imports System
Imports System.IO

and then the Form1.vb icon changed from form to vb. Removing the lines
repaired this. I added back the first two lines and the form icon was
lost. If you do not see this try closing and reopening the project. I
now have the problem wihout the extra lines ie the code is as it was
when the project was first created. Bizarre, I also now have a
'conflicting File Modification Detected' window. All I am doing is
adding and removing lines in the ide from Form1.vb!
And now I am unable to reproduce the problem.

Any idea what is going on?

thx Z
 

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