Nonnoi Solutions
ASP/ODBCConfig Component
CH.1 Overview

    ASP/ODBCConfig is a server side COM component that helps web developers to managing a ODBC Data Source Name (DSN). Allow you to create new DSN, edit, remove existing DSN.
  • Easy to use and powerful ODBC/DSN management operations.
  • Can create DSNs for all drivers that are installed on server computer.

This component is shareware version without limitations on functionality or time.You can fully develop and test your application before purchasing this product, the only limitation is component works when client requests from the IP 127.0.0.1 or ServerIP, No requests from other IP addresses will be served. If you want to remove limitations then you have to register it for US$25.

ASP/ODBCConfig Component
CH.2 Installation
ASP/ODBCConfig Component
CH.3 Reference
Add (DSNDriver: String, ConnectionString: String) : Boolean
Call Add to add a new DSN.
DSNDriver is DSN Driver String.
ConnectionString is DSN Connection String.


Edit (DSNDriver: String, ConnectionString: String) : Boolean
Call Edit to add an existing DSN.
DSNDriver is DSN Driver String.
ConnectionString is DSN Connection String.
Example :


Remove (DSNDriver: String, ConnectionString: String) : Boolean
Call Remove to add an existing DSN.
DSNDriver is DSN Driver String.
ConnectionString is DSN Connection String.


RegisterName
if you already registered this product, input your name (company name or customer name) here.
** you must set this value before call other method or properties.

RegisterKey
if you already registered this product, input your registration key here.
** you must set this value before call other method or properties.


ASP/ODBCConfig Component
CH.4 Example
ASP : Add a new DSN
<%
Set Obj = Server.CreateObject("nonnoi_ASPODBCConfig.ASPODBCConfig")

response.write "Add new DSN : "
if Obj.Add ("Microsoft Access Driver (*.mdb)","DSN=TestDSN;DBQ=C:\test.mdb;Description=Test Data") Then
response.write "OK"
Else
response.write "Error - " & Obj.Error
End If

Set Obj = nothing
%>


ASP : Edit an existing DSN
<%
Set Obj = Server.CreateObject("nonnoi_ASPODBCConfig.ASPODBCConfig")

response.write "Edit an existing DSN : "
if Obj.Edit ("Microsoft Access Driver (*.mdb)","DSN=TestDSN;DBQ=C:\test2.mdb;Description=Test Data 2") Then
response.write "OK"
Else
response.write "Error - " & Obj.Error
End If

Set Obj = nothing
%>


ASP : Remove an existing DSN
<%
Set Obj = Server.CreateObject("nonnoi_ASPODBCConfig.ASPODBCConfig")

response.write "Remove an existing DSN : "
if Obj.Remove ("Microsoft Access Driver (*.mdb)","DSN=TestDSN;DBQ=C:\test.mdb;Description=Test Data") Then
response.write "OK"
Else
response.write "Error - " & Obj.Error
End If

Set Obj = nothing
%>


ASP : Add a new DSN (Registered User):
<%
Set Obj = Server.CreateObject("nonnoi_ASPODBCConfig.ASPODBCConfig")

Obj.RegisterName = "Nonnoi"
Obj.RegisterKey = "0123456-789"

response.write "Add new DSN : "
if Obj.Add ("Microsoft Access Driver (*.mdb)","DSN=TestDSN;DBQ=C:\test.mdb;Description=Test Data") Then
response.write "OK"
Else
response.write "Error - " & Obj.Error
End If

Set Obj = nothing
%>


ASP/ODBCConfig Component
CH.5 Update & Order
 Click here for prices and discount information.
 Click here for product news & information.
 Click here for product support or any comment.