Solved

VB6 & MySQL

Posted on 2011-02-26
2
516 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

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.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…

726 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