Click here to Skip to main content
15,899,314 members
Home / Discussions / C#
   

C#

 
AnswerRe: Drop down control in .NET Data Grid Pin
freshonlineMax21-Dec-05 21:35
freshonlineMax21-Dec-05 21:35 
QuestionClosing or ending a process Pin
ckruger21-Dec-05 19:28
ckruger21-Dec-05 19:28 
AnswerRe: Closing or ending a process Pin
enjoycrack21-Dec-05 21:41
enjoycrack21-Dec-05 21:41 
GeneralRe: Closing or ending a process Pin
ckruger21-Dec-05 21:44
ckruger21-Dec-05 21:44 
GeneralRe: Closing or ending a process Pin
ckruger21-Dec-05 22:20
ckruger21-Dec-05 22:20 
GeneralRe: Closing or ending a process Pin
enjoycrack22-Dec-05 6:48
enjoycrack22-Dec-05 6:48 
GeneralRe: Closing or ending a process Pin
ckruger21-Dec-05 22:21
ckruger21-Dec-05 22:21 
GeneralRe: Closing or ending a process Pin
Maqsood Ahmed22-Dec-05 0:54
Maqsood Ahmed22-Dec-05 0:54 
Hello,
Please try to do this in Closing event of the main form.

if(excelApplication != null && excelApplication.Workbooks.Count > 0)<br />
{<br />
    foreach(Workbook wb in excelApplication.Workbooks)<br />
    {<br />
       wb.Close(false,Type.Missing,Type.Missing);         <br />
    }<br />
    excelApplication.Quit();<br />
    excelApplication.Visible = false;<br />
}


where excelApplication is an Excel.ApplicationClass object.

HTH. Cheers Smile | :)

Maqsood Ahmed - MCAD.net
Kolachi Advanced Technologies
http://www.kolachi.net
QuestionDatagrid problem Pin
yaminilathatv21-Dec-05 19:19
yaminilathatv21-Dec-05 19:19 
AnswerRe: Datagrid problem Pin
albCode21-Dec-05 21:21
albCode21-Dec-05 21:21 
QuestionIR Remote Control, Help....WM_APPCOMMAND Pin
Xodiak21-Dec-05 18:22
Xodiak21-Dec-05 18:22 
AnswerRe: IR Remote Control, Help....WM_APPCOMMAND Pin
S. Senthil Kumar22-Dec-05 3:16
S. Senthil Kumar22-Dec-05 3:16 
GeneralRe: IR Remote Control, Help....WM_APPCOMMAND Pin
Xodiak22-Dec-05 4:21
Xodiak22-Dec-05 4:21 
Questioncustom controls-query Pin
kal13na1321-Dec-05 18:08
kal13na1321-Dec-05 18:08 
AnswerRe: custom controls-query Pin
freshonlineMax21-Dec-05 22:19
freshonlineMax21-Dec-05 22:19 
QuestionGraphics+Line vanishes when another line is drawn Pin
Mahi.Ragava21-Dec-05 17:40
Mahi.Ragava21-Dec-05 17:40 
AnswerRe: Graphics+Line vanishes when another line is drawn Pin
Christian Graus21-Dec-05 19:14
protectorChristian Graus21-Dec-05 19:14 
GeneralRe: Graphics+Line vanishes when another line is drawn Pin
Mahi.Ragava21-Dec-05 19:47
Mahi.Ragava21-Dec-05 19:47 
GeneralRe: Graphics+Line vanishes when another line is drawn Pin
microsoc21-Dec-05 20:05
microsoc21-Dec-05 20:05 
GeneralRe: Graphics+Line vanishes when another line is drawn Pin
Mahi.Ragava21-Dec-05 20:17
Mahi.Ragava21-Dec-05 20:17 
GeneralRe: Graphics+Line vanishes when another line is drawn Pin
Christian Graus22-Dec-05 9:30
protectorChristian Graus22-Dec-05 9:30 
QuestionScreen Flickers When I Move Mouse Pin
...---...21-Dec-05 15:56
...---...21-Dec-05 15:56 
AnswerRe: Screen Flickers When I Move Mouse Pin
Christian Graus21-Dec-05 16:38
protectorChristian Graus21-Dec-05 16:38 
GeneralRe: Screen Flickers When I Move Mouse Pin
...---...21-Dec-05 17:35
...---...21-Dec-05 17:35 
GeneralRe: Screen Flickers When I Move Mouse Pin
microsoc21-Dec-05 18:33
microsoc21-Dec-05 18:33 

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.