To access the UltraLite control from your MobileVB or Crossfire project, you must add UltraLite for MobileVB to the design environment.
From the Visual Basic menu, choose Project > Components.
Click the Controls tab.
Scroll down the list to choose UltraLite Connection Parameters 10.0. Click OK.
If this item does not appear in the list of available controls, complete the following steps:
Close Visual Basic and save your project.
Open a command prompt and run the following command:
ulafreg -r
Restart Visual Basic and open your project.
Choose Project > Components.
Choose UltraLite Connection Parameters 10.0.
A database icon is added to your toolbar. To add a ULConnectionParms object to your form you double-click this icon.
Once SQL Anywhere is installed, UltraLite for MobileVB is automatically added to any new MobileVB project. It is therefore not usually necessary to manually add a reference to UltraLite for MobileVB to a project. The following procedure is provided for occasional situations where you may need to add a reference manually, such as if you install MobileVB after installing SQL Anywhere.
From the Visual Basic menu, choose Project > References.
If iAnywhere Solutions, UltraLite for MobileVB 10.0 is included in the list of available references, select it and click OK.
If iAnywhere Solutions, UltraLite for MobileVB 10.0 does not appear in the list of available references:
Open a command prompt and run the following command:
ulafreg -r
Choose iAnywhere Solutions, UltraLite for MobileVB 10.0 and click OK.