Developing Pocket PC Applications using Visual Studio.NET 2003 - Executing your first Pocket PC application using Visual Studio.NET 2003 IDE
(Page 4 of 5 )
Before proceeding with the following steps, make sure that you completed all the steps in the previous section.
Let us connect to the Pocket PC emulator first. Make sure you have the “device” toolbar visible as show in the Fig3. If it is not visible, go to View -> Toolbars and switch on the “device” toolbar. Once you have it visible, complete the following steps:
- Select “Pocket PC 2003 Emulator (Default)” from the dropdown list available on the “device” toolbar. That emulator becomes visible if and only if you install an additional Pocket PC 2003 SDK and emulators. If you don’t have it, you can go for the “Pocket PC 2002” option.
- Click on the “Connect to Device” icon, which exists just adjacent to the dropdown list. After a while, you should see your Pocket PC emulator (started with OS) as shown below (Fig4). It will take a bit of time to load the OS into the emulator. Once you are satisfied with the type of emulator you have selected, simply close it.

- Now you execute your application by pressing F5 and you should be looking at something like the following (Fig5). You select the same emulator you selected earlier.

- If necessary, you can also click the “Set As Default” button and switch off the check box to not show in the future (as shown in the above Fig5).
- Finally click on “Deploy.”
- After a few seconds, your Pocket PC emulator looks like the following (Fig6). You can observe that the form you designed earlier is exactly the same as on the Pocket PC emulator.

- Click on “Button1” and you should see the following (Fig7).

Once you close your emulator, the control goes from run-time mode to design mode. If you face any deployment errors, just close any existing emulators and try pressing F5 again (without switching on emulators manually by yourself).
Next: Working with a datagrid control on Pocket PC using Visual Studio.NET 2003 >>
More Visual Basic.NET Articles
More By Jagadish Chaterjee