Well, it is kind of possible if you use the File DSN in stead. In this case you can place the DSN file at the same folder as your application, and so you don't need to create any DSNs using the ODBC-datasoruce dialog.
And your connect string would look like this: "FILEDSN=" & ApplicationDirectory$() & "SPVector.dsn" Actual I think that the connection you use in MapX is a OLEDB connection (?) and not a ODBC connection, so can't quite compare those. When MapInfo Pro .NET will be here I guess it will support OLEDB or other DSN less connections. Peter Horsb�ll M�ller GIS Developer Geographical Information & IT COWI A/S Odensevej 95 DK-5260 Odense S. Denmark Tel +45 6311 4900 Direct +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail [EMAIL PROTECTED] http://www.cowi.dk/gis -----Original Message----- From: Milo van der Linden [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 12:06 PM To: [EMAIL PROTECTED] Subject: MI-L DSN Less DBMS Connection Hello list, I am using DBMS tables of a variety of types in a VB-programmed integrated mapping project. My MapInfo version is 7.0. Within my VB-program I use DSN less connections meaning that no Data Sources (ODBC) need to be manually configured on the clients installation workstation. I was wondering If this can also be done for a DBMS connection from MapInfo? Is it possible to change the ODBC-parameters in the Server Link statement from "DSN=MY_DSN_NAME" to something like "Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=MY_DATABASE;" Anyone has some experience on this? Or should I change to a higher version of MapInfo and will it be supported then? Kind regards, Milo van der Linden AVD-ICT * Hoogbloklandseweg 24 * 4205 NE Gorinchem * The Netherlands Tel. +31 183 50 81 50 Fax. +31 183 50 81 60 Mob. +31 629 54 06 96 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14133 --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 14134
