P
pooba53
I've seen several posts in the archives regarding making your VB .NET
application have a relative path connection string to an Access DB, but
do not see a definite resolution to the matter.
Here's what I'm trying to resolve:
My VB 2003 .NET application connects and works just fine with an Access
database located at c:\data.mdb. Now, I use a wizard for making an
installer for my application and it places the data.mdb file in the
installation directory without any problems.
However, I'm always going to have a runtime error unless the data.mdb
file is at c:\. I have to believe this issue has come up before and a
pro can easily shed some light on how I can perhaps use a relative path
in my connection string rather than an absolute.
I sure appreciate the help.
-Dan
application have a relative path connection string to an Access DB, but
do not see a definite resolution to the matter.
Here's what I'm trying to resolve:
My VB 2003 .NET application connects and works just fine with an Access
database located at c:\data.mdb. Now, I use a wizard for making an
installer for my application and it places the data.mdb file in the
installation directory without any problems.
However, I'm always going to have a runtime error unless the data.mdb
file is at c:\. I have to believe this issue has come up before and a
pro can easily shed some light on how I can perhaps use a relative path
in my connection string rather than an absolute.
I sure appreciate the help.
-Dan