Solved

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

Posted on 2006-11-21
2
185 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

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
Search by two fields at the same time using c# radio button 5 39
Please explain "Multi-Tenant Services" 5 64
Export import database 4 43
Windows Media Player 2 16
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
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 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 …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

896 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

14 Experts available now in Live!

Get 1:1 Help Now