Solved

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

Posted on 2013-11-15
2
265 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
[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 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

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…
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!
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

632 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