Developing Pocket PC Applications using Visual Studio.NET 2003 - Creating your first Pocket PC application using Visual Studio.NET 2003
(Page 3 of 5 )
Before proceeding with the following steps, make sure that you met all the requirements discussed in the previous section.
Let us begin now:
- Open Microsoft Visual Studio.NET 2003.
- Go to File -> New -> Project.
- Within the “New Project” Dialog, select “Visual Basic Projects” from the “Project Types” and “Smart Device Application” from the “templates” (as shown in Fig1). Currently, I left the name of the application set as “SmartDeviceApplication1.” You can change it according to your requirements.

- Once you click “OK”, you will be presented with the “Smart Device Application Wizard.” Select “Pocket PC” as the platform of target and “Windows application” as “project type” (as shown in Fig2).

- Click “OK” to accept your settings. You will be presented with a form (very similar to a Visual Basic 6 form), where you can design with the controls available in the toolbox.
- Drag a “Button” control from your toolbox onto the form and write the following code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MessageBox.Show("Hello World")
End Sub
The next section helps you to execute the application we developed here.
Next: Executing your first Pocket PC application using Visual Studio.NET 2003 IDE >>
More Visual Basic.NET Articles
More By Jagadish Chaterjee