Hai
How to connect the ms. access database to vb
try this code... module code
Option Explicit Public cn As New ADODB.Connection Public rs As New ADODB.Recordset
'Establish connection on database Sub DBConnection()
Set cn = New ADODB.Connection cn.CursorLocation = AdUseClient cn.Open "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & App.Path & "\Foldername\db.mdb"
End Sub
form load event
Call DBConnection
hope this code help you!....gud lck! HAppy Coding!
please send the coding Asp.net with ms-access database connectivity in vb coding to send my mail id gksaranya@gmail.com
kei...I will try to sent it to you later...
More information about text formats
<code>
<blockcode>
<asp>
<c>
<cpp>
<csharp>
<css>
<html4strict>
<java>
<javascript>
<mysql>
<php>
<python>
<sql>
<vb>
<vbnet>
<foo>
[foo]
try this code...
module code
Option Explicit
Public cn As New ADODB.Connection
Public rs As New ADODB.Recordset
'Establish connection on database
Sub DBConnection()
Set cn = New ADODB.Connection
cn.CursorLocation = AdUseClient
cn.Open "Provider = Microsoft.Jet.OLEDB.4.0;Data Source = " & App.Path & "\Foldername\db.mdb"
End Sub
form load event
Call DBConnection
hope this code help you!....gud lck! HAppy Coding!
please send the coding Asp.net with ms-access database connectivity in vb coding to send my mail id gksaranya@gmail.com
kei...I will try to sent it to you later...
Pages
Add new comment