Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 81
  • Last Modified:

Add Excel template to my Visual Studio 2013 project

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
printmedia
Asked:
printmedia
1 Solution
 
funwithdotnetCommented:
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
 
printmediaAuthor Commented:
Thank you! I'll just reference the network location as you suggested, it's much easier.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now