Imports System.Data.OleDb.OleDbConnection
Module Module1
Sub Main()
Dim connStr As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\CIM_CourseDevelopment\BillOfMaterial.accdb; Persist Security Info=False"
Dim cnn As New OleDb.OleDbConnection(connStr)
Try
cnn.Open()
Console.WriteLine("Connection established")
Console.ReadLine()
cnn.Close()
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
End Sub
End Module
Gray_code_element
Thursday, May 7, 2020
Connect to MS Access From .Net FrameWork Application
Note that this required a .Net Framework Application. When Microsoft brought out .Net Core, they stop supporting OleDb
Subscribe to:
Post Comments (Atom)
C# MIDI Programming
C# MIDI Toolkit midi-dot-net Discussion about programming C# MIDI Create great MIDI 2.0 apps using Windows MIDI Services and C# MIDI ...
-
In a regular annotation note, create a stack that looks the way you like. It will take a couple of trial and error attempts since there...
-
Getting into Equation Mode use <alt> and = to get into the equation editor. Radicals : $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$ ...
No comments:
Post a Comment