Hello guys! in this topic I will show you how to connect MS Access to Visual Basic 6.0.
Dim conn as ADODB.Connection
Dim strcon as String
strcon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & App.Path & "MyDatabase.mdb"
conn.ConnectionString = strcon
conn.Open
Note:
MyDatabase.mdb(your database name)
Hope this will help you. Enjoy!
Happy Coding! :)
whahahaha walang gayahan nang services!!!!whahahahah
ReplyDeletedi naman ahh..baka nag kataon lng.. wahahahhaha
ReplyDelete