Hi!!!
I am importing a Mysql Data namespace into my VB.net application.
Everytime I want to use queries, etc I need to have the Imports
Mysql.Data.Mysqlclient on top of my form page.
Is there a way to make the namespace default for my application so that I
don't have to call it within every single form I create? It gets tedious
after some time.
Please help,
Teo
Steve Gerrard - 08 Mar 2008 21:48 GMT
> Hi!!!
> I am importing a Mysql Data namespace into my VB.net application.
[quoted text clipped - 6 lines]
> Please help,
> Teo
http://msdn2.microsoft.com/en-us/library/64c84czf(VS.80).aspx
In the project properties, you can specify project wide imports.
Cor Ligthert[MVP] - 09 Mar 2008 13:14 GMT
Teo,
Yea that is one of the nice things of VB most people loving C# forget this
simple but very handy things.
Have a look at the message from Gerard
Cor
> Hi!!!
> I am importing a Mysql Data namespace into my VB.net application.
[quoted text clipped - 6 lines]
> Please help,
> Teo