Vista Software

Sample ASP web pages that use VistaDB COM


BasicPage.asp

Display the contents of the Customer table in Test.VDB.

UpdateData.asp

Updates the Customer table

ManageData.asp

Create a new table (MyTable) and add records using data type validation and then display the data.

SendEmail.asp

Send emails.

Overview

VistaDB COM may be used in ASP applications to manage VistaDB .VDB databases. In addition to data management, VistaDB includes an Email object that lets emails be sent from ASP applications. Run the BasicPage.asp sample first and click on the "Show Records" button to make sure your web server is properly configured. A list of records should be displayed.

Trouble Shooting

If data is not displayed, check that VistaDB20.DLL is copied to your web servers C:\Windows\System32 directory and that the your web site directory where your ASP application is running with sufficient read/write permissions to the data directory. Check VistaDB_ASPLib.asp and make sure you have the correct data directory set up.

Notes

These samples should be copied to either your web server or to your local C:\InetPub\wwwroot directory. From your IIS console manager, or Personal Web Server console, you must enable various properties including: [x] Read and [x] Write. Also make sure that your home page Application Permissions has (x) Scripts or (x) Execute (including scripts) set. Data files are located C:\Program Files\VistaDB 2.0\Data. These data files should be copied to a sub-directory off your home page called "\SampleData". If you choose a different subdirectory name, you will need to modify each sample ASP file below with your actual directory name.