Solved

Add Excel template to my Visual Studio 2013 project

Posted on 2016-08-04
2
51 Views
Last Modified: 2016-08-08
Hi all.

I have a Visual Studio project in vb that has many forms. I currently have a treeview control which I use as a kind of switchboard, where the end user clicks a node and it opens a form. Each form is part of the project. Now, we have an Excel template that resides on a shared network folder that I would like the end user to be able to open the Excel template when they click a node or button (I guess for now I'll have them click a button and figure out how to do it from the tree node later).

Should I include the Excel template in my project or should I leave it on the shared network folder and just have my project open it directly from it's shared network folder location?

If I should include the Excel template in my project, how do I do that?

Thank you in advance.
0
Comment
Question by:printmedia
2 Comments
 
LVL 12

Accepted Solution

by:
funwithdotnet earned 500 total points
ID: 41746594
It's convenient to just reference the network location, provided it is accessible.

To add the template to your project, right-click on the project in the Solution Explorer, Add > Existing Item ...

To distribute the template, add it to the file system in your setup project, if applicable.

Good luck!
0
 

Author Closing Comment

by:printmedia
ID: 41747159
Thank you! I'll just reference the network location as you suggested, it's much easier.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question