How to connect visual basic to access database without using adodc...
how to connect vb to access db....
Collapse
X
-
-
This has been covered hundreds of times, try sing the search and im sure you will find alot of information.
What version are you using?Comment
-
-
Originally posted by vikas1111Hi Debasis
I am not able to find adodb in the link you have provided.
select the higher version.Comment
-
Originally posted by vikas1111How to connect visual basic to access database without using adodc...
Dim c As ADODB.Connectio n
Dim rs As New ADODB.Connectio n
Private Sub Form_Load()
Dim cs As String
Set myconn = New ADODB.Connectio n
myconn.Connecti onString = "provider=micro soft.jet.oledb. 4;"
dbpath = "d:/name of the file.mdb"
rs.Open "select * from name of the table which i want to access", c, adOpenStatic
Me.Text1.Text = rs(no.of column)
End Sub
ERROR I AM GETTING IS INVALID PROPERTY ASSIGNMENTComment
-
Comment