Click here to Skip to main content
15,891,775 members
Home / Discussions / COM
   

COM

 
GeneralRe: activex problems... Pin
l a u r e n16-Sep-05 8:04
l a u r e n16-Sep-05 8:04 
GeneralRe: activex problems... Pin
rwestgraham16-Sep-05 14:24
rwestgraham16-Sep-05 14:24 
GeneralRe: activex problems... Pin
l a u r e n19-Sep-05 6:20
l a u r e n19-Sep-05 6:20 
GeneralRe: activex problems... Pin
Jörgen Sigvardsson16-Sep-05 14:38
Jörgen Sigvardsson16-Sep-05 14:38 
GeneralRe: activex problems... Pin
rwestgraham16-Sep-05 15:19
rwestgraham16-Sep-05 15:19 
GeneralRe: activex problems... Pin
Jörgen Sigvardsson17-Sep-05 9:31
Jörgen Sigvardsson17-Sep-05 9:31 
GeneralRe: activex problems... Pin
rwestgraham17-Sep-05 12:05
rwestgraham17-Sep-05 12:05 
QuestionNeed help on problem with Excel processes Pin
J. Holzer14-Sep-05 3:44
J. Holzer14-Sep-05 3:44 
Hi!

I´m reading a Excel-Sheet by calling the Excel-COM-Object with the following code:

Excel.Application ExcelObj = new Excel.Application();
Excel.Workbook theWorkbook = ExcelObj.Workbooks.Open(filename, false, true, 5, "", "", true, Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, true, true);

Excel.Sheets sheets = theWorkbook.Worksheets;

Excel.Worksheet worksheet = (Excel.Worksheet)sheets.get_Item(sheetNumber);

for (int i = startRow; i <= endRow; i++)
{
Excel.Range range = worksheet.get_Range(startCol + i.ToString(), endCol + i.ToString());
System.Array myvalues = (System.Array)range.Cells.Value2;
string[] strArray = ConvertToStringArray(myvalues);
storage.Add(strArray);
}

ExcelObj.Quit();

My problem is, that Excel does not really quit but stay in my task-manager.
What do i have to do to make Excel to leave my memory?

Thanks!
QuestionCOM newbie: LNK2005 Pin
Jose M Castellanos12-Sep-05 3:09
Jose M Castellanos12-Sep-05 3:09 
AnswerRe: COM newbie: LNK2005 Pin
Jose M Castellanos13-Sep-05 1:25
Jose M Castellanos13-Sep-05 1:25 
QuestionHow to Show ActiveX Control on a Window? Pin
Ashwin kumar Gurujala11-Sep-05 23:30
Ashwin kumar Gurujala11-Sep-05 23:30 
QuestionActiveX control container Pin
code_chenyf8-Sep-05 14:36
code_chenyf8-Sep-05 14:36 
QuestionUpdate (Windows) Pin
Illegal Operation8-Sep-05 4:10
Illegal Operation8-Sep-05 4:10 
QuestionSTA &amp; MTA Pin
MailtoGops8-Sep-05 3:07
MailtoGops8-Sep-05 3:07 
QuestionExcel Automation problem Pin
HeartFriend7-Sep-05 20:22
HeartFriend7-Sep-05 20:22 
QuestionCOM and access rights (perhaps ?) Pin
gnilk6-Sep-05 2:17
gnilk6-Sep-05 2:17 
QuestionHow to properly stop STA thread Pin
ComplexLifeForm3-Sep-05 7:19
ComplexLifeForm3-Sep-05 7:19 
QuestionATL Service Pin
Ashwin kumar Gurujala31-Aug-05 21:42
Ashwin kumar Gurujala31-Aug-05 21:42 
AnswerRe: ATL Service Pin
logicaldna31-Aug-05 22:47
logicaldna31-Aug-05 22:47 
QuestionExcel late binding Pin
Anonymous31-Aug-05 21:21
Anonymous31-Aug-05 21:21 
QuestionSOAP quetsion Pin
logicaldna31-Aug-05 19:03
logicaldna31-Aug-05 19:03 
QuestionHow to specify a sound card in windows media player Pin
JaniceA29-Aug-05 23:08
JaniceA29-Aug-05 23:08 
QuestionReally struggling with GetTypeFromProgID Pin
DaveC42691329-Aug-05 8:11
DaveC42691329-Aug-05 8:11 
GeneralRe: Really struggling with GetTypeFromProgID Pin
Jörgen Sigvardsson29-Aug-05 9:00
Jörgen Sigvardsson29-Aug-05 9:00 
GeneralRe: Really struggling with GetTypeFromProgID Pin
DaveC42691329-Aug-05 10:03
DaveC42691329-Aug-05 10:03 

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.