Solved

Add Excel template to my Visual Studio 2013 project

Posted on 2016-08-04
2
57 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
vb.net datagrid point 4 35
Shared Service Environment 2 54
Open telerik datetime picker programmatically 13 42
Call to SQL server times out 5 55
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…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

751 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