Solved

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

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 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