Page 1
Page 2
Page 3
This is an application l have designed under eVB that
simply converts from one currency to another currency of your choice.
My currency converter application gathers the required information from
a text file and displays in the combo boxes.
Please Note: You will need to create a directory "Currency"
in the "My Documents" directory on you Pocket PC. The "Currency.txt"
file can be obtained from http://users.bigpond.net.au/dcarnsew/currency.txt.
Tutorial Goal
This tutorial is aimed with the beginner in mind to
give a better understanding on how the following procedures work:
- Importing a Text File
- Populating a Combo Box
- Designing an Array
- Creating a re-usable Function
- If Then
Else statements
- Basic calculations and the use of strings/variables.
Let's Begin
To begin, lets create a new project:
Using the eVB main menu, File->New Project open the New Project Dialog.
Select Windows CE for the Pocket PC project and click
OK.

Designing the Form
Add the various controls such as the Combo Boxes,
Labels and Text Boxes as pictured below.

Adding the FILE SYSTEM control to your form
Next, we need to add the control to the project, as
it is not available by default. To add a new control to the available
controls access the eVB menu Project->Components
This will bring up a list of the install components
and allow you to add one or more to your toolbox for use in your application.
Select "Microsoft CE File System Control 3.0"
and click OK. To display the control toolbox access the eVB menu View->Toolbox.
This will display the controls toolbox on the left side of your screen
as pictured below.

Adding the FILE SYSTEM control onto your form
To add the "FILE SYSTEM" control to your
project, you simply double-click on the "File" icon in the toolbox.
This
control will be invisible when the application is running.

Next Page