P
pooba53
I have a VB .NET 2003 application that communicates with an Access db.
I am deploying the application using the Wizard that creates an install
package and it IS properly grabbing the Access db and putting it in the
Program Files directory along with the application executable, no
problem.
The problem is this...
The OleDbConnection knows of the database in an absolute location (i.e.
C:\Documents and Settings\ApplicationDB\data.mdb
So whenever I install and launch the application on another machine, it
looks for the database at the location I just mentioned. Well, I have
the database in the same directory as the application .exe file.
I need to be able to use a reference to the database based on relative
position I guess rather than absolute location.
Anybody know how to configure this?
Thanks...this group has been very helpful.
-Dan
I am deploying the application using the Wizard that creates an install
package and it IS properly grabbing the Access db and putting it in the
Program Files directory along with the application executable, no
problem.
The problem is this...
The OleDbConnection knows of the database in an absolute location (i.e.
C:\Documents and Settings\ApplicationDB\data.mdb
So whenever I install and launch the application on another machine, it
looks for the database at the location I just mentioned. Well, I have
the database in the same directory as the application .exe file.
I need to be able to use a reference to the database based on relative
position I guess rather than absolute location.
Anybody know how to configure this?
Thanks...this group has been very helpful.
-Dan