Click here to Skip to main content
15,883,941 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using Shell32.DLL Interface in C# Pin
Giorgi Dalakishvili11-May-08 9:16
mentorGiorgi Dalakishvili11-May-08 9:16 
GeneralRe: Using Shell32.DLL Interface in C# Pin
Luc Pattyn11-Aug-11 10:35
sitebuilderLuc Pattyn11-Aug-11 10:35 
GeneralRe: Using Shell32.DLL Interface in C# Pin
Giorgi Dalakishvili11-Aug-11 10:41
mentorGiorgi Dalakishvili11-Aug-11 10:41 
QuestionMulti-thread form managing [modified] Pin
natsuyaki11-May-08 4:20
natsuyaki11-May-08 4:20 
AnswerRe: Multi-thread form managing Pin
Ennis Ray Lynch, Jr.11-May-08 12:54
Ennis Ray Lynch, Jr.11-May-08 12:54 
GeneralRe: Multi-thread form managing Pin
natsuyaki11-May-08 14:29
natsuyaki11-May-08 14:29 
GeneralRe: Multi-thread form managing Pin
natsuyaki11-May-08 18:50
natsuyaki11-May-08 18:50 
QuestionOpening .xls file in Excel from C# Pin
eyalbi00711-May-08 3:35
eyalbi00711-May-08 3:35 
Hi all,

I'm trying to open an existing Excel file using Excel, from my C# application.
I've managed doing so using the following code:

Excel.Application excelApp = new Excel.Application();<br />
Excel.Workbook workBook = excelApp.Workbooks.Open(strFileName, 0,<br />
    false, 5, "", "", true, Excel.XlPlatform.xlWindows,<br />
    "\t", false, false, 0, true, 1, 0);<br />
excelApp.Visible = true;


However, I'm facing the following problem: Opening the file using this code creates a new process - EXCEL.exe, which doesn't ends after closing the Excel application!

What am I doing wrong?

Thanks a lot,

Eyal.
AnswerRe: Opening .xls file in Excel from C# Pin
Gareth H11-May-08 4:41
Gareth H11-May-08 4:41 
AnswerRe: Opening .xls file in Excel from C# Pin
Ed.Poore11-May-08 9:46
Ed.Poore11-May-08 9:46 
AnswerRe: Opening .xls file in Excel from C# Pin
Jimmanuel11-May-08 15:05
Jimmanuel11-May-08 15:05 
QuestionSystem Error mgs and flickering issue.... Pin
ASysSolvers11-May-08 3:03
ASysSolvers11-May-08 3:03 
Questiongenerics question Pin
George_George10-May-08 22:35
George_George10-May-08 22:35 
AnswerRe: generics question Pin
carbon_golem11-May-08 7:25
carbon_golem11-May-08 7:25 
GeneralRe: generics question Pin
George_George11-May-08 15:18
George_George11-May-08 15:18 
GeneralRe: generics question Pin
S. Senthil Kumar11-May-08 19:31
S. Senthil Kumar11-May-08 19:31 
GeneralRe: generics question Pin
George_George11-May-08 21:45
George_George11-May-08 21:45 
GeneralRe: generics question Pin
S. Senthil Kumar11-May-08 22:45
S. Senthil Kumar11-May-08 22:45 
GeneralRe: generics question Pin
George_George11-May-08 23:06
George_George11-May-08 23:06 
GeneralRe: generics question Pin
S. Senthil Kumar11-May-08 23:59
S. Senthil Kumar11-May-08 23:59 
GeneralRe: generics question Pin
George_George12-May-08 1:28
George_George12-May-08 1:28 
GeneralRe: generics question Pin
S. Senthil Kumar12-May-08 2:17
S. Senthil Kumar12-May-08 2:17 
GeneralRe: generics question Pin
George_George12-May-08 2:32
George_George12-May-08 2:32 
QuestionFile header processing... [modified] Pin
natsuyaki10-May-08 22:00
natsuyaki10-May-08 22:00 
AnswerRe: File header processing... Pin
DanB198310-May-08 23:14
DanB198310-May-08 23:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.