Hello everyone,
Iam using visual c# 2008 and microsoft access 2007 as my database table(.aacdb). I have used connection string path as the application.startuppath+database name like below.
-
string str = "\\userinfo.accdb";
-
datapath = Application.StartupPath + str;
-
I only need the primary output(i mean in the program menu only the windows form application(.exe) alone, so what i did is the in the setup and deployment in user program menu i added only the primary output. at the point of running the application it look for the database in the program menu since it not there iam getting the error. how could i pack the application with the database file and only the application get installed in my program menu?.
thank you very much..
Dinesh.