Skip to main content

Past Blast

Featured Products

Stay in touch using the DEVBUSS RSS feeds.
 

News

First Application with eVB

Written by Derek Mitchell  [author's bio]  [read 75877 times]
Edited by Derek

Page 1  Page 2  Page 3 

Change the Project Name to 'FirstApp' (no spaces); enter a short description and change the Remote Path to '\Windows\Start Menu\FirstApp.vb'. Note that the Run On Target property is set to 'Pocket PC Emulation'. The Project Properties should look something exactly like the screen below:

Click OK. Now we need to save the Project for good measure. Create a directory on your hard drive for storing your Pocket PC development. Next click on File -> Save Project As, navigate to the directory you have just created and save the project giving it an appropriate name. Do the same with the form by choosing File -> Save Form As.

First let's deal with one property of the Form object which can trip you up. It's not really applicable to this tutorial but it will save time in the future. Head over to the Form Properties window and change the ScaleMode property from 'Twip' to 'Pixel'. I'll rest easier now knowing that you know where to make that change. I like pixels, I think in pixels and definitely design my forms around pixel constraints.

Now let's add a control to Form1. Click on the Label control and drag a label out on the form. With the label selected the form should look like:

Go to the Properties Window and click the ellipses of the Font property. Select a larger font such as Verdana 12 bold. Click OK.

Now let's change the Caption property to something more earth shattering like 'First app on Pocket PC'.

Previous Page  Next Page