Although the SQL Anywhere installer automatically adds UltraLite to your Crossfire design environment, there are cases where you may have to add UltraLite to the environment manually. For example, if you install Crossfire after you install SQL Anywhere, you may need to carry out this procedure.
To find out if you need to add UltraLite to Crossfire, check that a new Crossfire project includes a reference to iAnywhere.UltraLiteForAppForge. If it does not, you need to add UltraLite to the environment. Also, check if the ULConnectionParms class appears in the AppForge panel of the toolbox. If it does not, you need to add UltraLite to the environment.
Register UltraLite for MobileVB with Crossfire.
Ensure that Crossfire is closed.
Open a command prompt and run the following command:
ulafreg -r
If you have upgraded a MobileVB project remove the reference to UltraLiteAFLib from the Visual Basic.NET Solution Explorer.
Add a reference to iAnywhere.UltraLiteForAppForge.dll
From the Microsoft Development Environment menu, choose Project > Add Reference and browse to the install-dir\ultralite\UltraLiteForAppForge\win32 subdirectory of your SQL Anywhere installation.
Select iAnywhere.UltraLiteForAppForge.dll and click Open.
Click OK to add the reference.
Add the ULConnectionParms control to the AppForge toolbox.
In the Microsoft Development Environment, right click the AppForge toolbox and choose Add/Remove Items. A dialog appears.
Click the COM Components tab.
Scroll down to the entry named ULConnectionParms Class. Check the box beside this component and click OK.
The ULConnectionParms control is added to the toolbox.