UltraLite for MobileVB User's Guide
Understanding UltraLite for MobileVB Development
Preparing to use UltraLite for MobileVB
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
Register UltraLite for MobileVB with Crossfire.
Ensure that Crossfire is closed.
Open a command prompt at the ultralite\UltraLiteforMobileVB\win32 subdirectory of your SQL Anywhere installation and run the following command:
ulmvbreg -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 ultralite\UltraLiteforMobileVB\win32 subdirectory of your SQL Anywhere installation.
Select iAnywhere.UltraLiteForAppForge.dll and click Open.
Choose 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.
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.