hi
i hav a problem conencting to my Database from Vb.Net. im totally new to .Net.the code is as follows
Dim DBConn As New OleDb.OleDbConnection
Dim strSql As String
Try
strSql = "Provider = Microsoft.Jet.OleDB.4.0;Data Source =" + _
"D:\MyDB.mdb;UserID=Admin;Password=MyPasswd"
DBConn = New OleDb.OleDbConnection(strSql)
DBConn.Open()
i could not connect to the database.
the error message is
"Work group information file is missing or is exclusively used by another user"
can any body explain the reasons 4 this error?
one more thing...
is ther anyhing like "Debug.print" in VB.Net ?
thanks in advance
baburaj
i hav a problem conencting to my Database from Vb.Net. im totally new to .Net.the code is as follows
Dim DBConn As New OleDb.OleDbConnection
Dim strSql As String
Try
strSql = "Provider = Microsoft.Jet.OleDB.4.0;Data Source =" + _
"D:\MyDB.mdb;UserID=Admin;Password=MyPasswd"
DBConn = New OleDb.OleDbConnection(strSql)
DBConn.Open()
i could not connect to the database.
the error message is
"Work group information file is missing or is exclusively used by another user"
can any body explain the reasons 4 this error?
one more thing...
is ther anyhing like "Debug.print" in VB.Net ?
thanks in advance
baburaj