Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Visual Basic 6.0 » Konektor ADODB MYSQL

Konektor ADODB MYSQL

Public Sub Bukadatabase()
Set DBKoneksi = New ADODB.Connection
DBKoneksi.CursorLocation = adUseClient

‘StrKoneksi = “Provider=Microsoft.Jet.OleDB.4.0; ” _
‘    & ” Data Source=” + App.Path _
‘    + “\DbPenggajian.mdb;Mode=readwrite”

StrKoneksi = “provider=msdasql.1;” & _
“persist security info = false; data source = sdmkumham;” & _
“initial catalog = sdmkumham”

Filed under: Visual Basic 6.0

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>