Solved

How to link to a Spreadsheet on a windows .net form?

Posted on 2006-11-21
2
184 Views
Last Modified: 2010-04-16
How do I add link to a windows .net form to an excel spreadsheet?  I want the user to be able to click some text and then open up the excel document.  For example, I have the following spreadsheet on my local drive which I want to add to the windows forms C:\Southern\Apps\ESW\FS2sourceCode\FS2WinFormApp\Reports\Braising Pan Operating Cost Tool.xls.  When the users clicks "Braising Pan Operating Calculator" on the windows form the Excel document will open.  
0
Comment
Question by:Hojoformo
  • 2
2 Comments
 
LVL 10

Expert Comment

by:tpwells
ID: 17989641
You can launch the excel file this way:

System.Diagnostics.Process.Start("C:\Southern\Apps\ESW\FS2sourceCode\FS2WinFormApp\Reports\Braising Pan Operating Cost Tool.xls");
0
 
LVL 10

Accepted Solution

by:
tpwells earned 500 total points
ID: 17989642
Is that what you are looking for?
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

15 Experts available now in Live!

Get 1:1 Help Now