Link to home
Start Free TrialLog in
Avatar of jgaull
jgaull

asked on

Deploy DSN ...

I would like to make a DSN part of the setup program using the package and deployment wizard in VB 6.0.  If this can't be done is there another way to deploy this DSN?

(I cannot use a DSN-less connection in the app itself)

Thanks!
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Look at the RegisterDatabase method of the DBEngine object. It creates DSN on the fly.
Before using ADO (DSN less), I used to recreate my DSN at each time I started the application. I was giving parameters in an INI file and recreate it.
ASKER CERTIFIED SOLUTION
Avatar of hatem72
hatem72

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jgaull
jgaull

ASKER

This is exactly what I needed!! Thanks!!