Re: VB6 + ADODB.Recordset + Vista = Automation error -2147024769
- From: "Jan Hyde (VB MVP)" <StellaDrinker@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 10 Dec 2008 09:32:02 +0000
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
.
- Follow-Ups:
- References:
- 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
|