Loading

Ms.access to vb database connectivity

4 posts / 0 new
Last post
Offline
Joined: 08/06/2010
Ms.access to vb database connectivity

Hai

How to connect the ms. access database to vb

renz09's picture
Offline
Joined: 10/24/2009
maddyrafi

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!

Anonymous
Asp.net with ms-access database connectivity in vb coding

please send the coding Asp.net with ms-access database connectivity in vb coding to send my mail id gksaranya@gmail.com

renz09's picture
Offline
Joined: 10/24/2009
Asp.net with ms-access database connectivity in vb coding

kei...I will try to sent it to you later...

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.