This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Hi all,
Can one create an ODBC driver on the "User DSN" on the fly?
I am aiming to create the driver when the user log into the application, and then remove it again when the user closes the application.Thanks
Deon
-Tom. Microsoft Access MVP
The below link should help. I generally use the SQLConfigDataSource API function call:
http://www.techrepublic.com/article/creating-a-dsn-using-visual-basic/#
Paul ~~~~ Microsoft MVP (Visual Basic)
Hi Tom,
I just read a forum (Stack Overflow) about this and found the solution. Like you are saying, the DSN-less is doing the job.
Thanks for your assistance.