[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

MySQL / ADO Connection quits on disconnect

Why is it whenever I close a connection to my MySQL database, VB6 closes itself?
0
DrDamnit
Asked:
DrDamnit
  • 2
  • 2
1 Solution
 
hesCommented:
How are you closing the connection ?
0
 
DrDamnitAuthor Commented:
with the 'Close' method.

Dim cn as new rdoConnection

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

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

Leon
0
 
DrDamnitAuthor Commented:
Because ......... er......um.....

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

do you have a better suggestion?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now