MySql and Vb.Net 2008


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: MySql and Vb.Net 2008

  1. #1
    Join Date
    Jul 2004
    Posts
    365

    Question MySql and Vb.Net 2008

    Good afternoon all,

    I'm brand new to using MySql. Can anyone tell me what .dll file I have to add as a reference to import MySql into application?

    Currently Imports MySql.Data.MySqlClient does not work, I'm missing a dll i'm sure. Any Ideas?

    Thanks all!

    jb

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Quote Originally Posted by jcb1269 View Post
    Currently Imports MySql.Data.MySqlClient does not work, I'm missing a dll i'm sure. Any Ideas?
    What error do you get when you try the import.

    I tried the import and got this
    Quote Originally Posted by Warning
    Warning 1 Namespace or type specified in the Imports 'MySql.Data.MySqlClient' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
    Interesting that it wasn't an actual error...just a warning.

    Have a look at the "MySQL Connector/Net — for connecting to MySQL from .NET" section from this MySQL Downloads link. Do you have all of that stuff?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Jul 2004
    Posts
    365

    Got it...

    I was missing the MySql.Data.dll.

    Nooob mistake. hehehe

    Thanks.

    jb

Similar Threads

  1. Replies: 4
    Last Post: 05-21-2009, 09:36 PM
  2. VB.Net 2008 - DateDiff Function
    By dollipop in forum .NET
    Replies: 10
    Last Post: 03-29-2009, 11:00 AM
  3. Replies: 2
    Last Post: 03-24-2009, 12:06 PM
  4. Replies: 12
    Last Post: 03-15-2009, 12:32 PM
  5. Designing Forms in VB.NET 2008
    By Vinny777 in forum .NET
    Replies: 4
    Last Post: 01-14-2009, 08:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center