Page 1 of 1
Using database connection in other forms
Posted: Thu 15 Feb 2007 20:08
by Fuitad
So I have a mysqlconnection object in my main form and I want to be able to use it in my other forms (mdi childrens) directly in VS. How do I do that?
Right now, if I click on "Connection", the mdi parent connection object is not shown and I can't use it.
Thanks!
Posted: Thu 15 Feb 2007 20:31
If you change the Modifers property to Public, is it visible in the child designer? Just a thought....
Posted: Thu 15 Feb 2007 20:33
by Fuitad
Tried that, no luck

.
Posted: Fri 16 Feb 2007 08:27
by Alexey
What version of MySQLDirect .NET do you use?
Where do you click on "Connection"?
Posted: Fri 16 Feb 2007 13:26
by Fuitad
I use the latest version of the MySQLDirect 3
And it's when I click on any mysqldirect component in the designer view of VS. If I put a MySqlConnecton component in my main form (mdi parent), I am unable to use it in the design view of VS with any other components (MySqlCommand, MySqlCommandBuilder, etc...).
Posted: Mon 19 Feb 2007 07:45
by Alexey
Where are these other components (MySqlCommand, MySqlCommandBuilder, etc...)?
Try to use MySQLDirect .NET 4.0 beta.
Posted: Mon 19 Feb 2007 17:09
by Fuitad
I am indeed able to use the new beta in design mode.
Yay!
Posted: Mon 19 Feb 2007 17:34
by Alexey
Well done.