Collection Contents Previous Next PDF

UltraLite for MobileVB User's Guide

Understanding UltraLite for MobileVB Development

Preparing to use UltraLite for MobileVB

Adding UltraLite to the Crossfire design environment


Although the SQL Anywhere Studio Setup program 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 Studio, 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.

To add UltraLite references and controls to your Crossfire project

  1. Register UltraLite for MobileVB with Crossfire.

    1. Ensure that Crossfire is closed.

    2. Open a command prompt at the ultralite\UltraLiteforMobileVB\win32 subdirectory of your SQL Anywhere installation and run the following command:

      ulmvbreg -r
    3. If you have upgraded a MobileVB project remove the reference to UltraLiteAFLib from the Visual Basic.NET Solution Explorer.

    4. Add a reference to iAnywhere.UltraLiteForAppForge.dll

      1. From the Microsoft Development Environment menu, choose Project > Add Reference and browse to the ultralite\UltraLiteforMobileVB\win32 subdirectory of your SQL Anywhere installation.

      2. Select iAnywhere.UltraLiteForAppForge.dll and click Open.

      3. Choose OK to add the reference.

  2. Add the ULConnectionParms control to the AppForge toolbox.

    1. In the Microsoft Development Environment, right click the AppForge toolbox and choose Add/Remove Items. A dialog appears.

    2. Click the COM Components tab.

    3. Scroll down to the entry named ULConnectionParms Class. Check the box beside this component and click OK.

    4. The ULConnectionParms control is added to the toolbox.


Collection Contents Previous Next PDF