Solved

VB6 and SQLexpress 2005

Posted on 2006-11-01
1
189 Views
Last Modified: 2013-12-26
Hello All

We are writting an application in VB6 ( has to be vb6 because we need to use RDO) that reads data from a vendors database into VB, that works ok. We now need to then save the read data into a SQLexpress 2005 database.

Anybody have any ideas or even code snippets that would be great

Many thanks in advance
0
Comment
Question by:Paul-Brooks
1 Comment
 
LVL 20

Accepted Solution

by:
hes earned 500 total points
ID: 17852117
You have to use ADO 2.8, but the connections and inserts to the database will be the same as SQl2K

An example is here
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=65022&lngWId=1
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

747 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

9 Experts available now in Live!

Get 1:1 Help Now