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 - AppForge Programming » Tutorial: A Sample Application for AppForge Crossfire » Lesson 1: Create a project architecture

Lesson 1: Create a project architecture Next Page

Create a Crossfire project

The following procedure creates an AppForge Crossfire project for your application and adds a reference to the UltraLite control.

AppForge tools appear in addition to the standard Visual Basic tools on the toolbar to the left of the development environment.

To create a Crossfire project for UltraLite
  1. Start Crossfire.

    1. Choose Start > Programs > AppForge > Crossfire. The Crossfire Project Manager dialog appears.

    2. Choose New Project. The Microsoft Development Environment New Project dialog appears.

    3. In the Project Types window click to expand the Visual Basic Projects folder.

    4. In the Templates window, click Crossfire Application.

    5. Leave the project name as CrossfireApp1, and enter your tutorial directory (c:\tutorial\crossfire) as the location.

      Click OK.

    6. Choose your deployment platform and click Finish to create the project.

    You should now see a Crossfire form in the Microsoft Visual Basic .NET Development Environment.

  2. If the Toolbox is not displayed, choose View > Toolbox to open it. Open the AppForge tab.

  3. Scroll down the list of AppForge controls to and double-click ULConnectionParms to add the database connection object to the form.


If your Crossfire project does not include a reference to iAnywhere.UltraLiteForAppForge.dll, and if the ULConnectionParms class does not appear in the list of AppForge controls, you need to register UltraLite with Crossfire. This may occur if, for example, you install Crossfire after installing SQL Anywhere.

See Adding UltraLite to the Crossfire design environment.

What's next

You now have an UltraLite database and a Crossfire project with an UltraLite control on a form. The next step is to create the application interface.