Click here to Skip to main content
15,923,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

I've a question about programming with Visual Basic 2008

I want to know how to active microsoft recordset in
Visual Basic 2008 because If I put this code for example

(Dim rst_add As New Recordset) The program tells me that the word "recordset" is not defined

I think I need to active The recordset to be able to use it.

Thanks very much
Updated 25-Jun-10 6:33am

1 solution

Add the Required Reference in project. For you, Add ADODB object reference. Happy coding.
Share this answer
Modyhima2010 26-Jun-10 20:56pm    
Reason for my vote of 5
good answer.I use it,Thanks very much

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900