I have created a sample application in vb.6.0 in which I have created a button. On the button I am trying to fetch the data from access database.
Above the event I have declared
Public CNDB As New ADODB.Connection
But when I run the program I am getting error
Do I need to add any reference.