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 - .NET Programming » Tutorial: Build an UltraLite.NET Application

Introduction to UltraLite.NET development tutorial Next Page

Lesson 1: Create a Visual Studio project

The following procedure creates and configures a new Visual Studio application. You can choose whether to use Visual Basic.NET or C# as your programming language.

To create a Visual Studio project
  1. Create a Visual Studio project.

  2. Add references to your project.

  3. Create a form for your application.

    If the Visual Studio toolbox panel is not currently displayed, choose View > Toolbox from the main menu. Add the following visual components to the form by selecting the object from the toolbox and dragging it onto the form in the desired location.

    TextBoxtxtName(no text)
    ListBoxlbNames(no text)

    Your form should look like the following figure:

    The Visual Studio form, showing the Insert, Update, and Delete buttons as well as a text box, list box, and label.
  4. Build and deploy your solution.

    Building and deploying the solution confirms that you have configured your Visual Studio.NET project properly.

    1. From the Build menu, choose Build Solution. Confirm that the project builds successfully. If you are building a Visual Basic application, you can ignore the following warning that may appear:

      Referenced assembly 'iAnywhere.Data.UltraLite.resources' is a localized satellite assembly

    2. From the Debug menu, choose Start.

      This action deploys your application to the device or emulator, and starts it. The application is deployed to \Program Files\VBApp or \Program Files\CSApp depending on your project name.

      The deployment may take some time.

    3. Confirm that the application deploys to the emulator or your target device.

    4. From the Debug menu, choose Stop Debugging to close the application.