Question : vb6 running in an XP SP3 VM unable to run ADO library commands

I have created an MS Virtual Machine with XP SP3 to compile and make changes to old VB6 applications.

Everything is installed. When I bring up the first application in VB6 Enterprise I get an error on the ADO commands. Im getting a 'Compile Error: Cant find project or library' and it highlights the first SET xxx = New ADODB.recordset object. The project references have Micorosft ActiveX Data Objects 2.8 Library selected which worked on previous compiles.

I have taken the exact same code and compiled on an old XP SP3 workstation with no problem. I have tried downloading the old MDAC 2.8 and 2.8 SP1 but they will not run on this version of the OS(?).

I thought this was a pretty standard strategy for supporting old VB apps. What am I missing here?

Thanks. Larry.

Answer : vb6 running in an XP SP3 VM unable to run ADO library commands

change the references to ADO 2.1
Random Solutions  
 
programming4us programming4us