Application Framework

To build a DB-Library for Visual Basic application, you typically follow these steps:

  1. Provide an error handler.
  2. Initialize DB-Library for Visual Basic.
  3. Open a connection to SQL Server.
  4. Send Transact-SQL statements to SQL Server.
  5. Process the results.
  6. Close the connection(s) to SQL Server and exit the application.

The following sections briefly describe each of these steps, provide examples, and tell how to locate the functions described here in the sample applications for Windows.