Found one more sample code for ADO:

http://support.microsoft.com/support...&SA=ALLKB&FR=0