Newsgroup: it.comp.appl.access
Titolo: Come elencare su una combobox i tipi di driver odbc disponibili ?

'ndo si leggono sti benedetti driver ?
Ciao e grazie
RobertoA

 RobertoA
Prova questi:
List the ODBC system DSNs
http://www.vb-helper.com/howto_list_dsns.html
How to show list of ODBC
http://www.xtremevbtalk.com/archive/index.php/t-231742.html
Ciao.
-- 
Sergio MAZZA

 
http://www.xtremevbtalk.com/archive/index.php/t-231742.html
Interessante
Pero' a me serviva una lista dei driver disponibili, non dei Dsn disponibili
Mi serve un qualcosa del tipo:
-------------------------------------
Microsoft Access Driver (*.mdb)
Microsoft Visual FoxPro Driver
Sql Native Client
-------------------------------------
Insoma, quello che si vede nella linguetta DRIVER del programa 
"Amministrazione Origine Dati Odbc"
Ciao e grazie
RobertoA

 RobertoA
A me sembra ci sia tutto nel file ODBCINST.INI, divisi per Sezioni...
Io ho (per es.)
---
[SQL Server (32 bit)]
Driver=C:\WINDOWS\System32\SQLSRV32.dll
Setup=C:\WINDOWS\System32\sqlsrv32.dll
32Bit=1
[ODBC 32 bit Drivers]
SQL Server (32 bit)=Installed
Microsoft Access Driver (*.mdb) (32 bit)=Installed
Microsoft Text Driver (*.txt; *.csv) (32 bit)=Installed
Microsoft Excel Driver (*.xls) (32 bit)=Installed
Microsoft dBase Driver (*.dbf) (32 bit)=Installed
Microsoft Paradox Driver (*.db ) (32 bit)=Installed
Microsoft Visual FoxPro Driver (32 bit)=Installed
Microsoft FoxPro VFP Driver (*.dbf) (32 bit)=Installed
Microsoft dBase VFP Driver (*.dbf) (32 bit)=Installed
Microsoft Access-Treiber (*.mdb) (32 bit)=Installed
Microsoft Text-Treiber (*.txt; *.csv) (32 bit)=Installed
Microsoft Excel-Treiber (*.xls) (32 bit)=Installed
Microsoft dBase-Treiber (*.dbf) (32 bit)=Installed
Microsoft Paradox-Treiber (*.db ) (32 bit)=Installed
Microsoft Visual FoxPro-Treiber (32 bit)=Installed
Driver do Microsoft Access (*.mdb) (32 bit)=Installed
Driver da Microsoft para arquivos texto (*.txt; *.csv) (32 bit)=Installed
Driver do Microsoft Excel(*.xls) (32 bit)=Installed
Driver do Microsoft dBase (*.dbf) (32 bit)=Installed
Driver do Microsoft Paradox (*.db ) (32 bit)=Installed
Driver para o Microsoft Visual FoxPro (32 bit)=Installed
Microsoft ODBC per Oracle (32 bit)=Installed
[Microsoft Access Driver (*.mdb) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odbcjt32.dll
32Bit=1
[Microsoft Text Driver (*.txt; *.csv) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odtext32.dll
32Bit=1
[Microsoft Excel Driver (*.xls) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odexl32.dll
32Bit=1
[Microsoft dBase Driver (*.dbf) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\oddbse32.dll
32Bit=1
[Microsoft Paradox Driver (*.db ) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odpdx32.dll
32Bit=1
[Microsoft Visual FoxPro Driver (32 bit)]
Driver=C:\WINDOWS\System32\vfpodbc.dll
Setup=C:\WINDOWS\System32\vfpodbc.dll
32Bit=1
[Microsoft FoxPro VFP Driver (*.dbf) (32 bit)]
Driver=C:\WINDOWS\System32\vfpodbc.dll
Setup=C:\WINDOWS\System32\vfpodbc.dll
32Bit=1
[Microsoft dBase VFP Driver (*.dbf) (32 bit)]
Driver=C:\WINDOWS\System32\vfpodbc.dll
Setup=C:\WINDOWS\System32\vfpodbc.dll
32Bit=1
[Microsoft Access-Treiber (*.mdb) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odbcjt32.dll
32Bit=1
[Microsoft Text-Treiber (*.txt; *.csv) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odtext32.dll
32Bit=1
[Microsoft Excel-Treiber (*.xls) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odexl32.dll
32Bit=1
[Microsoft dBase-Treiber (*.dbf) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\oddbse32.dll
32Bit=1
[Microsoft Paradox-Treiber (*.db ) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odpdx32.dll
32Bit=1
[Microsoft Visual FoxPro-Treiber (32 bit)]
Driver=C:\WINDOWS\System32\vfpodbc.dll
Setup=C:\WINDOWS\System32\vfpodbc.dll
32Bit=1
[Driver do Microsoft Access (*.mdb) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odbcjt32.dll
32Bit=1
[Driver da Microsoft para arquivos texto (*.txt; *.csv) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odtext32.dll
32Bit=1
[Driver do Microsoft Excel(*.xls) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odexl32.dll
32Bit=1
[Driver do Microsoft dBase (*.dbf) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\oddbse32.dll
32Bit=1
[Driver do Microsoft Paradox (*.db ) (32 bit)]
Driver=C:\WINDOWS\System32\odbcjt32.dll
Setup=C:\WINDOWS\System32\odpdx32.dll
32Bit=1
[Driver para o Microsoft Visual FoxPro (32 bit)]
Driver=C:\WINDOWS\System32\vfpodbc.dll
Setup=C:\WINDOWS\System32\vfpodbc.dll
32Bit=1
[Microsoft ODBC per Oracle (32 bit)]
Driver=C:\WINDOWS\System32\msorcl32.dll
Setup=C:\WINDOWS\System32\msorcl32.dll
32Bit=1
---
Ciao.
-- 
Sergio MAZZA 

 ha scritto nel messaggio 
news:4a8f9b67$0$694$5fc...@news.tiscali.it...

E si, bastava guardare
Ciao e grazie mille
RobertoA