Jump to content

Hello world app


Guest mr

Recommended Posts

All,

OK. Firstly, I am a something of a newbie when it comes to development, so apologies in advance for the stupid questions.

I've got a copy of VS.Net (thanks MS!) and the WM2003 SDK. I can create a SmartDevice project and draw up a few labels and text boxes, etc.

However, when it comes to building the app something goes wrong, and I get a couple of problems. Firstly the emulator often won't display any of the menus, just the main form content.

Secondly, sometimes, and I've had problems isolating the conditions under which this occurs, the emulator just doesn't seem to react to the fact that I've attempted to build the app.

There's loads of stuff that could be going wrong, for instance I don't really know how to execute the application once I've drawn a form (should I build solution, then F5 it to start running it, etc). Secondly, do I need to add any references in for the project to enable it to display these user menus?

Any help would be much appreicated.

Cheers,

mr.

P.S. Does anyone know whether there is a good intro to .Net CF development for Smartphones on the net? I've not managed to find anything particularly useful on the web.

Link to comment
Share on other sites

Guest Peter Foot

There isn't any special trick to display menus - just add a MenuBar control to your form - by default when you create a new project it will have a menubar already. Note that you can only have two top level menu items and the first (lefthand softkey) cannot have any child menu items.

Ensure that you terminate the application through visual studio when debugging - not by terminating the emulator. You can reset the emulator which will restore it to a factory fresh condition and then try deploying the application again.

Are you receiving any specific messages when it fails - see the "Output" window in Visual Studio for a log of what is happening in the build and deployment process.

Link to comment
Share on other sites

  • 3 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.