kalau Program filenya ada difolder billiard juga bisa dengan: Kone = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & app.path & "\bill3 \billyard.mdb;Persist Security Info=False"
----- Original Message ----- From: "mr_setiawan" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, February 08, 2006 10:09 AM Subject: [Programmer-VB] Path data base > Dear all, > > aku punya fungsi yang akutaruh di module > Sub Main() > Kone = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= G:\billyard\bill3 > \billyard.mdb;Persist Security Info=False" > Set ProdukRec = New ADODB.Recordset > Set ProdukCon = New ADODB.Connection > ProdukCon.ConnectionString = Kone > frmlogin.Show > End Sub > > Gimana ya biar drive G itu bisa dimasukan variable, > contohnya, bila aplikasi mau dijalan di komputer lain dengan Path yang > bebrbeda, maka drive tujuan juga bisa dirubah tanpa harus bongkar > source > > > Thx > nice-guy > > > > > > Wahana Programmer Groups Links > > > > > Yahoo! Groups Links > > > > > > Wahana Programmer Groups Links <*> Untuk mengunjungi sponsor milis ini, klik link berikut: http://wahanaprogrammer.net <*> Untuk menghubungi owner milis ini, kirim email ke: [EMAIL PROTECTED] <*> Konsultasi pemrogramman bisa chat disini: Yahoo! Messenger: wahanaprogrammer Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Programmer-VB/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
