MarkD
Active member
H-E-L-P! Having trouble getting onto 1st base. ADO.NET
Any ideas why I might be getting a Security Error code 5 trying the following code to open my database in VB.Net?
PCcon = New ADODB.Connection()
PCcon.Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=H:\Access\VDS-prototype.mdb")
The database exists where Im looking. I also tried adding security parms with no difference:
User ID=Admin;password=; or
User ID=myid,Password=mypw;
(but I shouldnt need them anyway because Im already logged on to my PC and thats where the H drive resides)
Thanks in Advance!
Any ideas why I might be getting a Security Error code 5 trying the following code to open my database in VB.Net?
PCcon = New ADODB.Connection()
PCcon.Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=H:\Access\VDS-prototype.mdb")
The database exists where Im looking. I also tried adding security parms with no difference:
User ID=Admin;password=; or
User ID=myid,Password=mypw;
(but I shouldnt need them anyway because Im already logged on to my PC and thats where the H drive resides)
Thanks in Advance!