Solved

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

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

820 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