CARI Infonet

 Forgot password?
 Register

ADVERTISEMENT

View: 3271|Reply: 6

VB with access database

[Copy link]
Post time 21-4-2010 08:18 PM | Show all posts |Read mode
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...
Reply

Use magic Report


ADVERTISEMENT


 Author| Post time 21-4-2010 08:52 PM | Show all posts
tak de sape tau ke???
Reply

Use magic Report

 Author| Post time 29-4-2010 08:13 AM | Show all posts
kalo pakai excel yg embedded with VB...sama ke ngn VB 6..

ke itu VB.net??
Reply

Use magic Report

Post time 3-5-2010 07:20 PM | Show all posts
aku tak ingat..
Reply

Use magic Report

 Author| Post time 3-5-2010 08:01 PM | Show all posts
aku tak ingat..
budingyun Post at 3-5-2010 19:20


tak pe..........
Reply

Use magic Report

Post time 19-5-2010 10:50 AM | Show all posts
Reply 5# kelapamuda

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...

hope so membantu...
Reply

Use magic Report

Follow Us
Post time 9-6-2010 12:22 AM | Show all posts
hrp2 dh setel problem ni..
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CARI Infonet

2-5-2024 09:55 AM GMT+8 , Processed in 0.307302 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list