vb6 is 32 bit only (and out of support as are all its adodb drivers). windows 11 is 64 bit only. windows 11 will run a 32 bit via the compatibility feature, but will not guarantee its reliable. so you are in a completely unsupported mode.
be sure the 32 bit adodb drivers where installed. see this thread about picking drivers:
note: you will probably continue to have issues with windows 11 running vb6. it is probably time to upgrade the app, as windows 10 support ends 10/15/2025.