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:
  1. Dim ftpcon As New System.Data.Odbc.OdbcConnection
  2.     Dim ftpcom As New System.Data.Odbc.OdbcCommand
  3.     Dim ftpdatareader As Odbc.OdbcDataReader
  4.  
  5.    sub init
  6.  
  7.     ftpcon.ConnectionString = "File Name=" &    Application.StartupPath.ToString & "\ftpserver.udl"
  8.         ftpcom.Connection = ftpcon
  9.  
  10.     ftpcon.open
  11.  
  12.    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