Developing DB2 Everyplace Visual Basic applications

To develop a DB2 Everyplace application in Visual Basic, you use the DB2 Everyplace CLI/ODBC interface. This topic provides a high-level overview of the tasks you must complete in order to develop Visual Basic applications with DB2 Everyplace.

Restrictions

When you develop applications for DB2 Everyplace using Visual Basic, consider the following restrictions and requirements:

Procedure

The basic steps to develop a DB2 Everyplace Visual Basic application are:

  1. Create a new Visual Basic project.
  2. Copy the file db2ecli.bas (from the DB2 Everyplace Visual Basic project directory) into your project folder, and insert the file into your Visual Basic project.
  3. Copy DB2e.dll into your project folder. If you don't want to place DB2e.dll in your project folder, modify the path to DB2e.dll in the function declarations in the db2ecli.bas file.
  4. Write your own application code. You can use the DB2 Everyplace sample Visual Basic program to help you.
  5. Create the executable program for your application by selecting the menu item File -> Make project.

Pojęcia pokrewne

Informacje pokrewne