I keep getting IM002 Microsoft ODBC Driver Manager Data Source Name Not Found via my VS2008 application
<p>I keep getting IM002 Microsoft ODBC Driver Manager Data Source Name Not Found via my VS2008 application. 
Code: </p>

<pre><code>Friend sConnString As String = "DRIVER=Microsoft Access Driver (*.mdb, *.accdb);DefaultDir=" + DriveLetter + " hamradio;DBQ=" + DriveLetter + "hamradio\hflogdb.accdb"
Friend con = New Odbc.OdbcConnection(sConnString)
Friend cmd As New OdbcCommand
Friend scon

Public Sub GetData() 
'If Database is open then close it to reset the ODBC System Table Resource' 
       If constate = "Open" Then
           con.Close()
           constate = con.State.ToString
       End If

        Dim dr As OdbcDataReader        
        con.Open()
        cmd.Connection = con
        constate = con.State.ToString
        strSQL10 = "select * from NAME where NAM =('" + NAMTEXTBOX.Text.ToUpper + "')"
        Dim sqlcmd10 As New OdbcCommand(strSQL10, con)
        dr = sqlcmd10.ExecuteReader()
</code></pre>

<pre class="lang-none prettyprint-override"><code>ODBC DRIVER SETUP:
USER DSN           Platform    Driver 
MS Access Database 32 bit      Microsoft Access Driver(*.mdb, accdb)
</code></pre>

<p>Can someone show me the code I need to do to get the code listed to work with WIN 10??</p>