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 Post>I can't find that property. What does that allow me to do?
Select excel file from Visual Studio solution explorer and choose the properties windows to set "Content" value to "BuildAction" property.
BuildAction property indicates what VS does with a file when a build is executed.
…
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.