Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite Utilities Reference

 SQL Preprocessor for UltraLite utility (sqlpp) Next Page

UltraLite AppForge Registry utility (ulafreg)


If you install the AppForge development environment after you have installed UltraLite, the utility registers either the UltraLite runtime or the UltraLite Engine client, so that the AppForge development environment contains a reference to the appropriate UltraLite namespace. These changes allow the load AppForge type libraries to be loaded. You can also unregister these *.DLL files with this utility.

Syntax

ulafreg [ options ]

OptionDescription
-d

Display the location of the currently installed version of AppForge.

-q

Set the utility to run in quiet mode. Suppress informational banners, version numbers, and status messages. Error messages are still displayed, however.

-r [ directory ]

Register the UltraLite runtime *.DLL in named directory (for example, ulmvb10.dll). Only one application can reference this file.

If you do not set directory, the default SQL Anywhere installation location is assumed (that is, install-dir\ultralite\UltraLiteForAppForge\win32\).

-rc [ directory ]

Register the UltraLite Engine client component *.DLL in named directory (for example, ulmvc10.dll). Multiple applications can reference the same registered engine client *.DLL file.

If you do not set directory, the default SQL Anywhere installation location is assumed (that is, install-dir\ultralite\UltraLiteForAppForge\win32\).

-u

Unregister the UltraLite AppForge component. The 10.0 UltraLite for AppForge component replaces previous versions of UltraLite for MobileVB. You cannot use more then one version of the component on the same machine. Therefore you must unregister these previous version before registering an UltraLite for Appforge 10.0 component.

Remarks

ulafreg is a Windows executable.

To save ulafreg output
  1. Once the executable has ended, click the Edit > Copy to copy the information in the Window.

  2. Paste the output in a text editor of your choosing.

  3. Save the output to any desired location.

If you are unsure whether or not you need to run the utility, follow the procedure described below.

To determine if you need to add UltraLite to your environment
  1. Do one of the following:

  2. If it does not, close AppForge.

  3. Run the ulafreg utility with the appropriate options.

  4. Restart AppForge.

If you run ulafreg in a regular session with administration privileges, Vista displays its output in a new console window, that is immediately discarded when the ulafreg command ends. You cannot view the results of the utility if this occurs. To avoid this behavior, follow the procedure below.

See also