Solved

using ConfigDSN

Posted on 2003-11-07
4
295 Views
Last Modified: 2012-06-27
can anybody give me vb code using ConfigDSN. I'm working in Windows'98 environment with MS-Access 2000 as backend
0
Comment
Question by:krisrajz
4 Comments
 
LVL 2

Accepted Solution

by:
selim007 earned 250 total points
ID: 9720798
i understand that you want your program to create a new dsn connection or modify and existing one.
if so,
from the project menu go to "References" and add the following reference library:
"ODBC Driver & Data Source Name Functions"
then to create a new DSN do the following:

Dim odbc As New ODBCTool.Dsn
odbc.CreateDSN ......
fill the create DSN with the corresponding arguments
pls note that the access driver name is "MS ACCESS"

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now