Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

using ConfigDSN

Posted on 2003-11-07
4
Medium Priority
?
311 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Accepted Solution

by:
selim007 earned 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is about my first experience with programming Arduino.
In this post we will learn different types of Android Layout and some basics of an Android App.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project

618 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