Solved

VB6 & MySQL

Posted on 2011-02-26
2
510 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install MySQL 5.6 and PHP on Centos Linux 6 99
PHP loop not working 4 55
MySQL - Restore Database SQL File 5 41
MS Access 03, TransferText, decimal places 8 37
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

914 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

15 Experts available now in Live!

Get 1:1 Help Now