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
Solved

Using C# .NET How Do You Shoe Excel Files?

Posted on 2013-11-15
2
262 Views
Last Modified: 2013-11-18
I have a saved Excel file and using C# .NET I need to launch it on a button click.  How can this be done?

Thanks,

Dan
0
Comment
Question by:danielolorenz
2 Comments
 
LVL 40

Assisted Solution

by:Kyle Abrahams
Kyle Abrahams earned 250 total points
ID: 39652056
You can use the process.Start for that
http://www.dotnetperls.com/process-start

or you can use the interop classes (video contains instructions on how to do this):
http://www.youtube.com/watch?v=TjaBWsEmbT8

Note you can use this in a windows form just as well as a console application

If you wanted to choose the file, you would use a OpenFileDialog:
http://msdn.microsoft.com/en-us/library/aa984392(v=vs.71).aspx
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 39653274
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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 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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 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