Sunday, November 6, 2016

Auto connection to database

Sample Codes Here
(Module)
Public con As New ADODB.Connection
Public rs As New ADODB.Recordset
Sub main()
con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\SampleDB.mdb;Persist Security Info=False"
con.CursorLocation = adUseClient
con.Open
frmSample.Show
Download sample program here:
http://www.mediafire.com/download/b89cjbdp13h3k41/Auto_Connection.rar
YOUTUBE CHANNEL: http://www.youtube.com/user/MrJomarflores123
OFFICIAL WEBSITE: http://jstechtutor.blogspot.com/

No comments:

Post a Comment