Solved

Add Excel template to my Visual Studio 2013 project

Posted on 2016-08-04
2
36 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WPF - Tooltips for ComboBox items 5 40
VB.net/WinForms: adjust Screen Resolution 6 44
C# Single Form 8 29
Extracting last characters in a substring 5 20
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

862 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now