hi all, this is my first vb.net program. i have no idea what the error is all about. please help. below is the code which i wrote.
Imports System.Data.OleDb
dim connectionstring as string
connectionstring = "provider=Microsoft.ACE.OLEDB.12.0;DataSource=C:\Documents and Settings\adarsh.FSC\My Documents\wb.accdb;Jet OLEDBatabase Password=vision;"
Dim conn As OleDb.OleDbConnection
conn = New OleDb.OleDbConnection(connectionstring)
conn.Open()
MsgBox("Strings are Equal() ")
i get the following error when i run the program.
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
please help
Imports System.Data.OleDb
dim connectionstring as string
connectionstring = "provider=Microsoft.ACE.OLEDB.12.0;DataSource=C:\Documents and Settings\adarsh.FSC\My Documents\wb.accdb;Jet OLEDBatabase Password=vision;"
Dim conn As OleDb.OleDbConnection
conn = New OleDb.OleDbConnection(connectionstring)
conn.Open()
MsgBox("Strings are Equal() ")
i get the following error when i run the program.
An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in system.data.dll
please help