This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
When I search google for DSN I get a lot of different results. Can you elaborate by telling us in more detail what you are trying to do?
Joined: Jun 12, 2007
i am having .mdb(MS Access database) file, my clients require an application in cd version, on installing my application the user can use my application as a search engine for this .mdb file.so i decided to develop my application in java, while connecting the access database i use the following method,
DNS is Windows specific stuff, so you'll need to call some native code. Its easy enough to do in VB (have a hunt through MSDN, you'll fine examples), so you might be better distributing a .wsf with your app that does it (or just documenting that it is a required step in set up)?
Yes, There are both jdbc and odbc drivers available for Access that work on a Mac. Search the web for "os x" access jdbc driver and "os x" access odbc driver. I do not know if there is a driver available for free. Regards, Jan