Question:
VB 6 ADO distribution?
anonymous
2008-06-24 04:47:26 UTC
I have created a program in Visual Basic that connects to a Microsoft Access Database using an ADO.

My problem is the compiled exe wont work on any computer that does not have VB installed on it. I've tried using the VB 6 package and deployment wizard that adds a bunch of dependence files with no luck. My program still crashed on non VB installed computers with the Run-time error '3706' Provider cannot be found. It may not be properly installed. What am i missing?
Three answers:
Some Guy
2008-06-24 05:22:06 UTC
Make sure that ADO is actual part of the installation.



This includes *both* MS ActiveX Data Objects (ocx) and MDAC_Type.exe.



MS ADO (usually version 2.7 or 2.8 on Windows 200x, XP and Vista) should be included if you have the reference setup correctly. MDAC_Type is a separate part, required on PCs without the runtime libraries.



MDAC_Type download: http://support.microsoft.com/kb/q184265/
cooltut
2008-06-24 07:03:08 UTC
Follow this tutorial. It explains everything about connecting with database in Visual Basic 6.



http://www.freetutes.com/VisualBasic
anonymous
2016-10-24 07:13:09 UTC
opt for from the position = ''; Open the recordset with that string (construct it from the person enter) and show the ensuing information.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...