Hi
I have an access database on a remote folder on the lan. The folder is accessible using a certain lan id and pwd for logon.
I want to query this db using ADO and ODBC or OLE from a VB program. I've mapped the remote folder to F:.
Just to try it out, I create a data project from the app wizard, that uses the following connection string:
"PROVIDER=Microsoft.Jet.OLEDB.3.51;Data Source=f:\db.mdb;"
But when I run it, I get an error "The database is either opened by another user, or you need permission to view its data"
I guess the problem must be with the lan logon to the remote folder - maybe i need to do that within my VB prog?
How do I do that?
What else could be the problem? Please help!
Lyra Computing
I have an access database on a remote folder on the lan. The folder is accessible using a certain lan id and pwd for logon.
I want to query this db using ADO and ODBC or OLE from a VB program. I've mapped the remote folder to F:.
Just to try it out, I create a data project from the app wizard, that uses the following connection string:
"PROVIDER=Microsoft.Jet.OLEDB.3.51;Data Source=f:\db.mdb;"
But when I run it, I get an error "The database is either opened by another user, or you need permission to view its data"
I guess the problem must be with the lan logon to the remote folder - maybe i need to do that within my VB prog?
How do I do that?
What else could be the problem? Please help!
Lyra Computing