Solved

Add Excel template to my Visual Studio 2013 project

Posted on 2016-08-04
2
32 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
Comment Utility
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
Comment Utility
Thank you! I'll just reference the network location as you suggested, it's much easier.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

9 Experts available now in Live!

Get 1:1 Help Now