Programatically creating DSN
-
Hi all; I have created an application requiring a DSN connection. Being myself new to Visual C++, i could not figure out how to do it "DSN-less". Now, i need to add the DSN programatically since i don't want users to create it themselves. Can anybody please help me out. My database is an Access database named: datastructor.mdb It is found in c:\datastructor and the password is datastructor Can somebody plz plz help. I badly need very fast Thank you before hand; Krugger
-
Hi all; I have created an application requiring a DSN connection. Being myself new to Visual C++, i could not figure out how to do it "DSN-less". Now, i need to add the DSN programatically since i don't want users to create it themselves. Can anybody please help me out. My database is an Access database named: datastructor.mdb It is found in c:\datastructor and the password is datastructor Can somebody plz plz help. I badly need very fast Thank you before hand; Krugger
A DSN is just a registry key. Search the registry for a known one and you'll find the location. Todd Smith