Good day.
i have a problem in connecting to mysql using udl and odbc. i have created a udl that connects to a mysql data source using odbc
VB Code:
Dim ftpcon As New System.Data.Odbc.OdbcConnection Dim ftpcom As New System.Data.Odbc.OdbcCommand Dim ftpdatareader As Odbc.OdbcDataReader sub init ftpcon.ConnectionString = "File Name=" & Application.StartupPath.ToString & "\ftpserver.udl" ftpcom.Connection = ftpcon ftpcon.open end sub
when i try to execute the code above, error states that "keyword not supported, file name" , but in other connections using oledb it works fine. does odbc.net doesnt support udl's? im using visual studio.net 2003
![]()
any help would be greatly appreciated. Thank you very much




Reply With Quote