Windows 7 VB 6.0 project exe is not working in windows XP RRS feed

  • Question

  • Hello !

    Currently I am shifted from windows Xp(sp 3) to Windows 7 (32 bit). Now I have made latest SalesProject.exe using Visual Basic 6.0 in Win 7, Its working fine on Win 7systems. But Same SalesProject.exe is not working when I run it on Windows Xp systems. It returns error on Win Xp 'Class does not support Automation).

    Please see the following code example in VB6.0


    Private Sub Form_Load()

    msgbox ("Step1") ' run Ok

    Dim rs as new ADODB.Recordset ' (I have tried ADO 2.8 & 2.0 also) Error comes on this line



    . etc

    End Sub



    Any Help? Thanks

    • Moved by Andreas Johansson Thursday, August 4, 2011 9:26 AM VB6 (From:Visual Basic General)
    Thursday, August 4, 2011 4:54 AM

All replies