Results 1 to 6 of 6

Thread: Access MySQL with VB .NET?

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2002
    Posts
    36

    Access MySQL with VB .NET?

    Is it possible to use MySQL databases with VB .NET?

    I downloaded a driver called MyODBC, but for now im stuck using Visual Basic 5.0 to do my database app, cause I wasnt able to get VB .NET to work with it succesfuly.

  2. #2
    Thelonius
    Guest
    Are you using the ADO.NET OleDb* objects? Ususally those will connect to any ODBC compliant database.

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2002
    Posts
    36
    Yes, I used those controls, but for some reason it wouldnt connect.. i dont know why.. it was wierd :-/

  4. #4
    Thelonius
    Guest
    What kind of error message does it return?

  5. #5
    Tygur
    Guest
    You need to download the ODBC .NET Data Provider. You can find it at msdn.microsoft.com somewhere.

    After you download and install that, you will have to use the classes in the Microsoft.Data.Odbc namespace instead of the ones in the System.Data.OleDb namespace.

  6. #6

    Thread Starter
    Member
    Join Date
    Apr 2002
    Posts
    36
    Thanks Tygur... im looking it up now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width