[Solved] Error .accdb access file added in vb.net Error Name : unrecognized database format .accdb
[Solved] Error .accdb access file added in vb.net Error Name : unrecognized database format .accdb
In access old version file extension is .mdb and new version is .accdb
In Visual Basic .mdb file add successfully no error will occur but .accdb file have error that
unrecognized database format .accdb.
so first you need to download AccessDatabaseEngine than install it and restart your computer.
ConnectionString = "Provider=xyz;Data Source=YourDataBase"
for .mdb we use Provider=Microsoft.Jet.OLEDB.4.0;
and for .accdb we use Provider=Microsoft.ACE.OLEDB.12.0;
Example for Access database Connectivity
Private conn As New OleDbConnection
Private cmd As New OleDbCommand
Private DR As OleDbDataReader
Private DT As New DataTable
Private path As String = "C:\Database.accdb"
'Put this code where you want to fetch the data
Try
conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" & path & "'"
cmd.Connection = conn
cmd.CommandText = "Select * from TableName"
conn.Open()
DR = cmd.ExecuteReader
DT.Load(DR)
'feedTable is GridView in vb.net
FeedTable.DataSource = DT
conn.Close()
Catch ex As Exception
conn.Close()
MsgBox("Error : " & ex.Message)
End Try
Thank You Give your Comments for help others.
How can i move Border less form in Vb.net , easy method to move Border less Form in Vb.NET
How can I move Border less form in Vb.net , easy method to move Border less Form in Vb.NET visual studio 2015...
How can i move Border less form in Vb.net , easy method to move Border less Form in Vb.NET
visual Basic 2015 programming.
Private IsFormBeingDragged As Boolean = False
Private MouseDownX As Integer
Private MouseDownY As Integer
'Using Mouse Down Event in selected Form.
Private Sub Form1_MouseDown(ByVal sender As Object, ByVal e As MouseEventArgs) Handles MyBase.MouseDown
If e.Button = MouseButtons.Left Then
IsFormBeingDragged = True
MouseDownX = e.X
MouseDownY = e.Y
End If
End Sub
'Using MouseUp Event in selected Form.
Private Sub Form1_MouseUp(ByVal sender As Object, ByVal e As MouseEventArgs) Handles MyBase.MouseUp
If e.Button = MouseButtons.Left Then
IsFormBeingDragged = False
End If
End Sub
'Using Mouse Move Event in selected Form.
Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As MouseEventArgs) Handles MyBase.MouseMove
If IsFormBeingDragged Then
Dim temp As Point = New Point()
temp.X = Me.Location.X + (e.X - MouseDownX)
temp.Y = Me.Location.Y + (e.Y - MouseDownY)
Me.Location = temp
temp = Nothing
End If
End Sub
Free Download ShutDownMe 2016
Free Download ShutDownMe 2016
ShutDownMe.rar
Software Look...
Password : soomro4u (For Unrar File)
ThankYou...
ShutDownMe.rar
Software Look...
Password : soomro4u (For Unrar File)
ThankYou...
Hindu poet Lata Haya ki Hindi Kavita Deen E Islam par - MUST WATCH
ہندو شاعرہ لتا حیا کی اسلام کے بارے میں انتہائی خوبصورت شاعری
انڈین ہندو شاعرہ لتا حیا کی اسلام کے بارے میں انتہائی خوبصورت شاعری، مکمل سنیں لطف آ جائے گا
انڈین ہندو شاعرہ لتا حیا کی اسلام کے بارے میں انتہائی خوبصورت شاعری، مکمل سنیں لطف آ جائے گا
Zohaib Amjad - Mombatiye ft. Raftaar & Manj Musik | New Punjabi Songs 2015 | Official Video
Double Click for Full Screen
Ishq | Full Video HD | Flint J & Mathira | New Punjabi Song 2015
Ishq | Full Video HD | Flint J & Mathira | New Punjabi Song 2015
Ranjha Ranjha New SaD Song 2015| Official Video - Flint J
Ranjha Ranjha New SaD Song 2015| Official Video - Flint J new Panjabi songs
Online Tv Channels - Soomro4u
news channel, sport channel , music channel , movies channels , Pakistani channels , Indian channels.
online tv channels pakistan online tv channel soomro4u online tv live tv soomroforu
online tv watch at soomro4u all channels are added and still adding new channels soomro4u soomroforu soomro4u.com
Ptv Home Express news Dawn News Urdu1 Hum Tv Madani channel Ary news Live Makkah Dunia Samaa Waqt News PtvNews Bol News Geo News Ten Sports 8XM Mehran Tv Awaz Tv 92 news A plus news one 1 A tv Time Now Sindh tv News Capital Tv metro one Royal News Hum Sitary Express Entertement
online tv watch at soomro4u all channels are added and still adding new channels soomro4u soomroforu soomro4u.com
Ptv Home Express news Dawn News Urdu1 Hum Tv Madani channel Ary news Live Makkah Dunia Samaa Waqt News PtvNews Bol News Geo News Ten Sports 8XM Mehran Tv Awaz Tv 92 news A plus news one 1 A tv Time Now Sindh tv News Capital Tv metro one Royal News Hum Sitary Express Entertement
Atif Aslam, Tajdar-e-Haram, Coke Studio Season 8, Episode 1. Soomro 4u
Atif Aslam, Tajdar- e -Haram, Coke Studio Season 8, Episode 1. #CokeStudio8
A tribute to the Sabri Brothers
Produced by Strings
Publication date : 08/13/2015
Duration : 10:28
Category : Music
Subtitles EN
Topics : Atif Aslam, Coke Studio
ATIF ASLAMCOKE STUDIO
free download Tajdar-e-Haram by Atif Aslam mp4 720p, 480p
Download video file (MP4 format - Full HD Quality - 1080p)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - HD Quality - 720p)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - SD Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - Medium Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - Low Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
A tribute to the Sabri Brothers
Produced by Strings
Publication date : 08/13/2015
Duration : 10:28
Category : Music
Subtitles EN
Topics : Atif Aslam, Coke Studio
ATIF ASLAMCOKE STUDIO
free download Tajdar-e-Haram by Atif Aslam mp4 720p, 480p
Download video file (MP4 format - Full HD Quality - 1080p)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - HD Quality - 720p)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - SD Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - Medium Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - Low Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Ghanta Tera Pyaar HD Full Video Song [2015] Jishan Ali Thobani Soomro4u
Ghanta Tera Pyaar HD Full Video Song [2015] Jishan Ali Thobani - Soomro 4u
Badshah ft. Aastha Gill - Dj Waley Babu (Official Music Video) Dj Wale Babu with download links HD
Badshah ft. Aastha Gill - Dj Waley Babu (Official Music Video) Dj Wale Babu with download links HD
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - SD Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - Medium Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Download video file (MP4 format - Low Quality)
Right-click mouse and choose "Save link as..." to download (rename file to - VIDEOFILE.MP4)
Subscribe to:
Posts
(
Atom
)