Link to home
Start Free TrialLog in
Avatar of DrDamnit
DrDamnitFlag for United States of America

asked on

MySQL / ADO Connection quits on disconnect

Why is it whenever I close a connection to my MySQL database, VB6 closes itself?
Avatar of hes
hes
Flag of United States of America image

How are you closing the connection ?
Avatar of DrDamnit

ASKER

with the 'Close' method.

Dim cn as new rdoConnection

... open/do other stuff.....
...
cn.Close
...

[Program and VB unexpectedly quits]
Why are you using RDO?

Leon
Because ......... er......um.....

Because that is what I was using to connect to my MySQL server.

do you have a better suggestion?
ASKER CERTIFIED SOLUTION
Avatar of leonstryker
leonstryker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial