Hello. I need to include an excel file in the installation project of an application. I've added it to the install project under application folder. I need to read that file into a dataset during runtime. The file needs to be included on install so that the customer can change the file as needed. I have no idea how to access this file in code. Can someone help?
hoofbeats95
0
Newbie Poster
Recommended Answers
Jump to PostHello. I need to include an excel file in the installation project of an application. I've added it to the install project under application folder. I need to read that file into a dataset during runtime. The file needs to be included on install so that the customer can change …
Jump to PostFrom the solution explorer/properties , set BuildAction property to "Content".
Jump to Postu culd use $App.path instead of hard coded path so your application will find the needed files in your application folder
I hope it will help
All 9 Replies
asaukani
0
Light Poster
hoofbeats95
0
Newbie Poster
kvprajapati
1,826
Posting Genius
Team Colleague
hoofbeats95
0
Newbie Poster
asaukani
0
Light Poster
kvprajapati
1,826
Posting Genius
Team Colleague
hoofbeats95
0
Newbie Poster
hoofbeats95
0
Newbie Poster
hoofbeats95
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.