Click here to Skip to main content
15,905,144 members
Home / Discussions / C#
   

C#

 
QuestionMy computer can't do basic arithmetic (or I'm doing something stupid) Pin
ajtunbridge3-Sep-08 23:22
ajtunbridge3-Sep-08 23:22 
AnswerRe: My computer can't do basic arithmetic (or I'm doing something stupid) Pin
buchstaben3-Sep-08 23:24
buchstaben3-Sep-08 23:24 
AnswerRe: My computer can't do basic arithmetic (or I'm doing something stupid) Pin
Frank Horn3-Sep-08 23:26
Frank Horn3-Sep-08 23:26 
AnswerRe: My computer can't do basic arithmetic (or I'm doing something stupid) Pin
ajtunbridge3-Sep-08 23:42
ajtunbridge3-Sep-08 23:42 
AnswerRe: My computer can't do basic arithmetic (or I'm doing something stupid) Pin
blackjack21504-Sep-08 0:31
blackjack21504-Sep-08 0:31 
AnswerRe: My computer can't do basic arithmetic (or I'm doing something stupid) Pin
John_Adams4-Sep-08 3:54
John_Adams4-Sep-08 3:54 
QuestionHow to know which control called the context menu? Pin
bouli3-Sep-08 22:11
bouli3-Sep-08 22:11 
AnswerRe: How to know which control called the context menu? Pin
Christian Flutcher3-Sep-08 22:36
Christian Flutcher3-Sep-08 22:36 
GeneralRe: How to know which control called the context menu? Pin
bouli3-Sep-08 23:01
bouli3-Sep-08 23:01 
GeneralRe: How to know which control called the context menu? Pin
Christian Flutcher3-Sep-08 23:14
Christian Flutcher3-Sep-08 23:14 
GeneralRe: How to know which control called the context menu? Pin
bouli4-Sep-08 22:36
bouli4-Sep-08 22:36 
QuestionCheck if a DLL is registered Pin
Harvey Saayman3-Sep-08 21:02
Harvey Saayman3-Sep-08 21:02 
AnswerRe: Check if a DLL is registered Pin
u2envy123-Sep-08 21:44
u2envy123-Sep-08 21:44 
AnswerRe: Check if a DLL is registered Pin
Frank Horn3-Sep-08 21:46
Frank Horn3-Sep-08 21:46 
QuestionAsynchronous callback Pin
George_George3-Sep-08 20:27
George_George3-Sep-08 20:27 
AnswerRe: Asynchronous callback Pin
Christian Flutcher3-Sep-08 22:54
Christian Flutcher3-Sep-08 22:54 
GeneralRe: Asynchronous callback Pin
George_George3-Sep-08 23:01
George_George3-Sep-08 23:01 
QuestionFacing limitations in Flash.ocx to play .swf file Pin
SharjeelHKhan3-Sep-08 18:55
SharjeelHKhan3-Sep-08 18:55 
QuestionInvoking OLE Functionality through C# interops Pin
venkyhyd3-Sep-08 17:53
venkyhyd3-Sep-08 17:53 
AnswerRe: Invoking OLE Functionality through C# interops Pin
venkyhyd3-Sep-08 18:17
venkyhyd3-Sep-08 18:17 
GeneralRe: Invoking OLE Functionality through C# interops Pin
venkyhyd4-Sep-08 22:08
venkyhyd4-Sep-08 22:08 
QuestionDisposing objects instantiated from a child window form created from a parent window form? Pin
Duy Pham3-Sep-08 16:05
Duy Pham3-Sep-08 16:05 
Hey folks,

I've been pulling my hair out on this one. I've got a data table that's created within the constructor for Form A (the child form). Now, this form is created from a button in Form B (the parent form), and can be done so multiple times simultaneously. I'm experiencing a peculiar problem where although Form A SEEMS to close fine (in the sense that it is fully destructed), the data table that was instantiated in that form wasn't disposed. I know this because I have a MessageBox.Show() within the constructor of Form A which displays some values from the data table. Each time the method is called, I'll have multiple message boxes depending on how many times I have opened Form A (regardless of how many times I've closed it!).

I've tried calling the dataTable.Dispose() method in the event handler for the closing of Form A and still this seems to do nothing.

I've no idea what's wrong Frown | :-( .

Any help is much appreciated.
AnswerRe: Disposing objects instantiated from a child window form created from a parent window form? Pin
N a v a n e e t h3-Sep-08 17:16
N a v a n e e t h3-Sep-08 17:16 
GeneralRe: Disposing objects instantiated from a child window form created from a parent window form? Pin
Duy Pham4-Sep-08 1:37
Duy Pham4-Sep-08 1:37 
AnswerRe: Disposing objects instantiated from a child window form created from a parent window form? Pin
Guffa3-Sep-08 20:02
Guffa3-Sep-08 20:02 

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.