>Nadya,
>
> i think that some .dll file is missing or get corrupted bacause the
>same code was working perfectly previously .
> now suddenly it starts giving error. how it can be possible?
If you really think to a bad installation or corruption, reinstall ADO (
http://www.microsoft.com/data/)
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com