Killsoft Sugdok

How to connect Ms Access to vb.net

Go down

How to connect Ms Access to vb.net

Post by putayputay on Sat Mar 09, 2013 1:57 pm

Imports System.Data.OleDb
Public Class Form1

Public connstring As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|datadirectory|\youtubeDbase.accdb;persist security info = false"
Public conn As New OleDbConnection
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
conn.ConnectionString = connstring

If conn.State = ConnectionState.Closed Then
conn.Open()
' MsgBox("open")
Else
MsgBox("Close")

End If
End Sub
End Class

putayputay
Newbie
Newbie

Posts : 10
Join date : 2013-03-09

Back to top Go down

Re: How to connect Ms Access to vb.net

Post by dunchotambay on Mon Aug 12, 2013 1:40 am

Thank you for your sharing knowledge

dunchotambay
Newbie
Newbie

Posts : 1
Join date : 2013-08-12

Back to top Go down

Re: How to connect Ms Access to vb.net

Post by rajamajid on Sat Sep 21, 2013 2:39 pm

i am not able to do that because it will give me the error to uninstallable isam what should i do?

rajamajid
Newbie
Newbie

Posts : 1
Join date : 2013-09-21

Back to top Go down

Re: How to connect Ms Access to vb.net

Post by donbenary1 on Sun Nov 17, 2013 5:30 pm

Hello sir, I'm only a beginner in VB. Can you please explain the code sir pls?

donbenary1
Newbie
Newbie

Posts : 2
Join date : 2013-11-17

Back to top Go down

Re: How to connect Ms Access to vb.net

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum