Click here to Skip to main content
15,888,116 members
Home / Discussions / C#
   

C#

 
GeneralRe: problem in binded columns to DataGridView Pin
Jassim Rahma30-Aug-08 13:17
Jassim Rahma30-Aug-08 13:17 
GeneralRe: problem in binded columns to DataGridView Pin
Wendelius30-Aug-08 21:12
mentorWendelius30-Aug-08 21:12 
QuestionRepository in sharepoint Pin
manju#12329-Aug-08 19:23
manju#12329-Aug-08 19:23 
Questionscroll bar Pin
algates002729-Aug-08 18:59
algates002729-Aug-08 18:59 
AnswerRe: scroll bar Pin
algates002719-Oct-08 20:12
algates002719-Oct-08 20:12 
QuestionCustom action not running during installation Pin
tahir_makhdoom29-Aug-08 17:55
tahir_makhdoom29-Aug-08 17:55 
Answer[Cross-Post] Re: Custom action not running during installation Pin
Scott Dorman29-Aug-08 18:08
professionalScott Dorman29-Aug-08 18:08 
QuestionQuestion about Interfaces Pin
MarkB77729-Aug-08 17:07
MarkB77729-Aug-08 17:07 
Hi,

I'm having some trouble cleaning up an application that automates Excel. I end up with multiple instances of Excel open...

What I have is three classes...

An "excel" class (Holds the excel COM object etc)
A control panel (Allows user to navigate through excel records)
A display panel (Displays the excel records)

I pass the Excel object to the other two panels using an interface (IExcel).

The Excel object has a Dispose method, and it cleans itself up when the user is finished.

When I click the cancel button in the control panel, I dispose of the excel object, but the instance isn't closing... So I think I may be missing some basics...

If I pass an object as an interface to another object, and then dispose of the original object, does that clean up everything else (i.e the interfaces I passed)?

Mark Brock
"We're definitely not going to make a G or a PG version of this. It's not PillowfightCraft." -- Chris Metzen
Click here to view my blog

AnswerRe: Question about Interfaces Pin
Scott Dorman29-Aug-08 17:57
professionalScott Dorman29-Aug-08 17:57 
GeneralRe: Question about Interfaces Pin
MarkB77729-Aug-08 18:09
MarkB77729-Aug-08 18:09 
GeneralRe: Question about Interfaces Pin
Scott Dorman29-Aug-08 18:19
professionalScott Dorman29-Aug-08 18:19 
GeneralRe: Question about Interfaces Pin
MarkB77729-Aug-08 18:36
MarkB77729-Aug-08 18:36 
GeneralRe: Question about Interfaces Pin
Scott Dorman29-Aug-08 19:15
professionalScott Dorman29-Aug-08 19:15 
QuestionMoving from VSWD Express 2008 to VS2008, Namespace problem Pin
Vodstok29-Aug-08 13:01
Vodstok29-Aug-08 13:01 
QuestionPointer help Pin
jacobjordan29-Aug-08 12:54
jacobjordan29-Aug-08 12:54 
AnswerRe: Pointer help Pin
Mark Salsbery29-Aug-08 14:03
Mark Salsbery29-Aug-08 14:03 
AnswerRe: Pointer help Pin
Guffa30-Aug-08 0:08
Guffa30-Aug-08 0:08 
QuestionCuror Pin
netJP12L29-Aug-08 9:12
netJP12L29-Aug-08 9:12 
AnswerRe: Curor Pin
Wendelius29-Aug-08 9:38
mentorWendelius29-Aug-08 9:38 
QuestionGet list of all fields referenced from RDLC XML file Pin
AndrusM29-Aug-08 9:05
AndrusM29-Aug-08 9:05 
AnswerRe: Get list of all fields referenced from RDLC XML file Pin
Wendelius29-Aug-08 9:17
mentorWendelius29-Aug-08 9:17 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
AndrusM29-Aug-08 9:31
AndrusM29-Aug-08 9:31 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
Wendelius29-Aug-08 9:59
mentorWendelius29-Aug-08 9:59 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
AndrusM30-Aug-08 6:59
AndrusM30-Aug-08 6:59 
GeneralRe: Get list of all fields referenced from RDLC XML file Pin
Wendelius30-Aug-08 7:10
mentorWendelius30-Aug-08 7:10 

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.