UltraLite for MobileVB User's Guide
Tutorial: An UltraLite Application for PocketPC
Lesson 1: Create a project architecture
The following procedure creates a MobileVB project for your application. It adds the UltraLite for MobileVB controls to a MobileVB project. On the Visual Basic toolbar on the left of the Visual Basic environment, MobileVB tools appear in addition to the standard Visual Basic tools.
To create an UltraLite for MobileVB reference
Start MobileVB
Choose Start
Choose a target and click OK.
Create a new project.
Choose a design target for your application. When asked for the Design Target, choose PocketPC.
Create a Visual Basic reference to the UltraLite for MobileVB component:
Choose Project
Check the box beside the item iAnywhere Solutions, UltraLite for MobileVB 9.0.
If the control does not appear, for example if you installed MobileVB after installing SQL Anywhere Studio, run the following command to register the component:
ulmvbreg -r
Ensure the box beside the item UltraLite Connection Parameters 9.0 is checked.
Click OK.
Give the Project a name.
Click Project
Under Project Name, type UltraLiteTutorial. This is the name of the application as it will appear on your device.
Click OK.
Save the Project:
Choose File
Save the form as c:\tutorial\mvb\Form1.frm.
Save the project as c:\tutorial\mvb\UltraLiteTutorial.vbp.