LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Want to launch Excel from C# app

For now, I simply want to launch Excel from a C# windows application. I've
found the MS Office Interop libraries with no documentation.

I'm expecting the following code to open the c:\temp.xls:

ApplicationClass excelApp = new ApplicationClass();
excelApp.Workbooks.Open("c:\\temp.xls",Type.Missin g,Type.Missing,Type.Missing,Type.Missing,Type.Miss ing,Type.Missing,Type.Missing,Type.Missing,Type.Mi ssing,Type.Missing,Type.Missing,Type.Missing,Type. Missing,Type.Missing);


What I'm getting is an EXCEL.EXE process started, but Excel never launches.

I'm trying to simply and quickly implement this as a part of a prototype app
where resulting data is displayed using Excel.

Any help would be appreciated.

Thanks.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel will not launch owzatagain. Excel Discussion (Misc queries) 0 August 26th 09 02:57 AM
Can't launch Excel [email protected] Excel Discussion (Misc queries) 3 January 2nd 07 02:30 AM
excel fails to launch NFEI Excel Discussion (Misc queries) 3 October 31st 05 08:13 PM
Macro launch - Button vs Manual launch , has different results. Wayne Excel Programming 4 February 23rd 05 11:33 AM
Excel No-Launch LarryP[_2_] Excel Programming 0 June 18th 04 02:30 PM


All times are GMT +1. The time now is 03:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"