Excel component deployment in winform program(C#)

L

Lee

Hello,

I use excel to display and print data in my winform program(c#),but I find
it cannot run on machines without office installed,Is there any way to
deploy the excel component with my program?
Clients may not install excel.

Sorry for grammar mistakes.

Lee
 
A

Andrew Cushen

Lee-

The short answer is No. There is no "Excel component" that
can be re-distributed. What you are doing is controlling,
or "Automating", Excel from your C# program. Therefore,
Excel must be installed on the machine your program is
running on.

If you can't install Excel on the target PCs, you might
look into some alternatives, like one of the Grid controls
that ships with Visual Studio, and/or a Chart control.

HTH,

-Andrew
==================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top