Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- From: timmi <timmi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 10 Dec 2008 05:21:02 -0800
I think I can see a light at the end of the tunnel!
It seems that the Installation-Process of the Tool is the guilty part.
Before the installation, a simple ADODB.Recordset-Test was running, after
the installation, the -214... automation error of the same example pops up.
I think the Installshield-Setup installs/copies/registers his "own"
ADO-DLL's or something.
After an uninstall of the program, a runtime error 429 appears...
So, the installation "destroys" something, think we have to rebuild the setup!
Greets
timmi
"timmi" wrote:
But I tested it on 3 Vista Systems now..
1 manual clean Installation (Business) and
2 different Laptop OEM Versions (Toshiba & Asus), which were pre-installed...
I haven't changed something, concerning the ADO-Installation (WDAC/MDAC).
"Jan Hyde (VB MVP)" wrote:
timmi <timmi@xxxxxxxxxxxxxxxxxxxxxxxxx>'s wild thoughts were
released on Wed, 10 Dec 2008 00:34:01 -0800 bearing the
following fruit:
Hello everybody!
WEEKS have passed now and it won't come to an end.
The problem is simple:
I've got a VB6 program that runs wonderful under Windows XP but Vista always
hangs up, when it tries to execute the following command:
Set rs = New ADODB.Recordset <-- DOESN'T WORK!
I do this this all the time in all the products I work on
and have never encountered a problem with Vista.
It's seems to me it's more likely a problem with your
installation of ADO.
This command exists inside a function, at the top of the .bas-File, the
Variable is declared:
Public rs As ADODB.Recordset
___________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
I've also tried to start with a new (clean) project and made everything as
simple as possible. It seems that no ADO-Components work under Windows Vista.
A try to get the ADODC-Control to work also failed (worked under XP, but not
under Vista).
___________________________________
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
I posted in several forums now, but nobody could help me.
Maybe the answers of others could, so I will link some of my Threads:
1) http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4164774&SiteID=1
2)
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4219413&SiteID=1&mode=1
3) http://www.vbarchiv.net/forum/id13_i16850t16850.html
4) http://www.dbforums.com/showthread.php?t=1635645
--
Jan Hyde (VB MVP)
https://mvp.support.microsoft.com/profile/Jan.Hyde
- References:
- VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- From: timmi
- Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- From: Jan Hyde (VB MVP)
- Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- From: timmi
- VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- Prev by Date: Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- Next by Date: Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- Previous by thread: Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- Next by thread: Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- Index(es):
Relevant Pages
|