kowang...
aku nak tnye...
camne nak linkkan database access 2003 ngn VB?
pe coding lookup dia?
aku pening dok baca2 instruction orang bg nih...
tapi sepatah haram pun aku tak paham...
al-maklum la..tak penah blaja coding nih...disuruh wat coding...gagal sket..
and..kalo kowang ada mana-mana reference site..
tepek ea..aku sgt2 menghargai pertolongan kowang..
and..momod sume...kalo da ada topic nih..or salah bod..
mintak mahap and mintak tolong bawak sy ke pangka jalan semula...
1 - add references
Project > References
add Microsoft ActiveX Data Object 2.5 Library
2 - declare kat option explicit
Dim db as ADODB.Connection
3 - kat coding ko paste je coding ni...
Private Sub Form_Load()
Set db = New ADODB.Connection
db.ConnectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0; DATA SOURCE= " & App.Path & "\NamaDatabase.mdb"
db.Open
End Sub
p/s: letak database ko tu dalam folder application jgak...