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!
(I cannot use a DSN-less connection in the app itself)
Thanks!
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This is exactly what I needed!! Thanks!!