Access 2002 uses ADO. (In fact, by default it only has a reference set to
ADO. For Access 2003, they came to their senses and there's also a default
reference set for DAO)
There's absolutely no way you can use the version 11 object library in any
other version of Access than Access 2003.
The first thing I'd do is check that some other reference isn't missing.
References are like apples: one bad one can spoil the whole bunch. Go into
the VB Editor and select Tools | References from the menu bar.
If any of the selected references have "MISSING:" in front of them, unselect
them, and back out of the dialog. If you really need the reference(s) you
just unselected (you can tell by doing a Compile, under the Debug menu), go
back in and reselect them.
If none have "MISSING:", select an additional reference at random, back out
of the dialog, then go back in and unselect the reference you just added. If
that doesn't solve the problem, try to unselect as many of the selected
references as you can (Access may not let you unselect them all), back out
of the dialog, then go back in and reselect the references you just
unselected. (NOTE: write down what the references are before you delete
them, because they'll be in a different order when you go back in)
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"BenWeber" <(E-Mail Removed)> wrote in message
news:4028A186-3366-4386-A967-(E-Mail Removed)...
> Ok, i just sent an app i developed using MS Access 2003 (using 11.0 object
> Library) to someone with 2002 (version 10.0).
>
> The application crapped out on one of the first lines:
>
> rst.Open "T_Team", CurrentProject.Connection, adOpenStatic,
> adLockOptimistic, adCmdTable
>
> The error message was "Class Not Registered"...
>
> Is it possible that ADO isn't supported in 2002? I use ADO recordsets in a
> LOT of places...
>
> Is there something idiot-friendly that someone using 2002 can do to
register
> the Version 11.0 object library (ie without re-installing MS Access or
> requiring the MS Access CDs?)?
>
> Will this issue pop up everywhere that i do non-trivial coding (ie i also
> use XMLHttp, InternetExplorer.Application ActiveX, etc...
>
> Thanks,
> -B