Solved

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

Posted on 2013-11-15
2
259 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 39

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 69

Accepted Solution

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

22 Experts available now in Live!

Get 1:1 Help Now