Solved

VB6 & MySQL

Posted on 2011-02-26
2
508 Views
Last Modified: 2012-05-11
Hi - I'm using some of my code from my program in VBA to transfer it to VB6.  Are the connections & mysql queries/updates, etc identical in VB6 or do I have to change them?

Thanks - Zack
0
Comment
Question by:zack4x4
2 Comments
 
LVL 5

Accepted Solution

by:
advfinance earned 500 total points
ID: 34989102
Assuming you've used ADO, everything is the same, although to make it easier, you can upgrade any db connections or recordsets to take advantage of the limited in VB6

So, any lines like
   Set rs = Createobject("ADODB.Recordset")

Could change to
    Dim rs As New ADODB.Recordset
0
 
LVL 4

Author Closing Comment

by:zack4x4
ID: 34989121
Thanks!!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now