Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > .NET

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-20-2009, 04:06 PM
jcb1269 jcb1269 is offline
Registered User
 
Join Date: Jul 2004
Posts: 296
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
Reply With Quote
  #2  
Old 10-21-2009, 08:35 AM
Hack's Avatar
Hack Hack is offline
Super Moderator
 
Join Date: Apr 2007
Location: Sterling Heights, Michigan
Posts: 7,719
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

Microsoft MVP 2005/2006/2007/2008/2009
Reply With Quote
  #3  
Old 10-22-2009, 01:39 PM
jcb1269 jcb1269 is offline
Registered User
 
Join Date: Jul 2004
Posts: 296
Got it...

I was missing the MySql.Data.dll.

Nooob mistake. hehehe

Thanks.

jb
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Convert VB.NET 2008 project to VB.NET 2003 pfaisalbe .NET 4 05-21-2009 10:36 PM
VB.Net 2008 - DateDiff Function dollipop .NET 10 03-29-2009 12:00 PM
VB.Net 2008 - How to put a constraint on a Button dollipop .NET 2 03-24-2009 01:06 PM
Newbie: How to access a WebService from VB.NET 2008? Rens.Duijsens .NET 12 03-15-2009 01:32 PM
Designing Forms in VB.NET 2008 Vinny777 .NET 4 01-14-2009 09:50 AM


All times are GMT -4. The time now is 08:17 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.