Solved

using ConfigDSN

Posted on 2003-11-07
4
292 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article will show, step by step, how to integrate R code into a R Sweave document
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

759 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

20 Experts available now in Live!

Get 1:1 Help Now