Click here to Skip to main content
15,912,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: startup times woes.... Pin
Super Lloyd20-Aug-06 23:57
Super Lloyd20-Aug-06 23:57 
GeneralRe: startup times woes.... Pin
V.21-Aug-06 0:03
professionalV.21-Aug-06 0:03 
Questionimplementing a C++ interface (from a DLL) in C# Pin
_Liron_20-Aug-06 11:39
_Liron_20-Aug-06 11:39 
AnswerRe: implementing a C++ interface (from a DLL) in C# Pin
Christian Graus20-Aug-06 12:02
protectorChristian Graus20-Aug-06 12:02 
QuestionInvalidComObjectException was unhandled Pin
thunderbirdje20-Aug-06 10:51
thunderbirdje20-Aug-06 10:51 
AnswerRe: InvalidComObjectException was unhandled Pin
Nader Elshehabi20-Aug-06 11:07
Nader Elshehabi20-Aug-06 11:07 
QuestionRe: InvalidComObjectException was unhandled Pin
thunderbirdje20-Aug-06 12:57
thunderbirdje20-Aug-06 12:57 
AnswerRe: InvalidComObjectException was unhandled Pin
Nader Elshehabi20-Aug-06 13:36
Nader Elshehabi20-Aug-06 13:36 
Hello


thunderbirdje wrote:
I should inherit from the class IDisposible


IDisposable is not a class. It's an interface and you implement it, not inherit from it.

Your form already implements this interface for you, you only have to implement it in classes you write from the scratch. I understood from your post that the ManagementEventWatcher object is in your form. If so just double click on the class file name "*.cs" in your solution explorer to expand it. Then right click on "FormName.Designer.Cs" and view its code. Here you will find you Dispose() method. You don't call it explicitly.

If you still can't find it. View your class using the class explorer, select it, then right click on the Dispose() method name in the members pane, and view the declaration.

RegardsRose | [Rose]
AnswerRe: InvalidComObjectException was unhandled Pin
thunderbirdje21-Aug-06 2:56
thunderbirdje21-Aug-06 2:56 
QuestionCatch system keys in a Form Pin
kozu20-Aug-06 8:34
kozu20-Aug-06 8:34 
AnswerRe: Catch system keys in a Form Pin
kozu20-Aug-06 8:52
kozu20-Aug-06 8:52 
Questionopen file as (word , excel , mp3) Pin
TAREQ F ABUZUHRI20-Aug-06 8:17
TAREQ F ABUZUHRI20-Aug-06 8:17 
AnswerRe: open file as (word , excel , mp3) Pin
kozu20-Aug-06 8:40
kozu20-Aug-06 8:40 
GeneralRe: open file as (word , excel , mp3) Pin
TAREQ F ABUZUHRI20-Aug-06 8:55
TAREQ F ABUZUHRI20-Aug-06 8:55 
AnswerRe: open file as (word , excel , mp3) Pin
Christian Graus20-Aug-06 11:09
protectorChristian Graus20-Aug-06 11:09 
QuestionError in istalling VS 2003 Pin
data1420-Aug-06 7:22
data1420-Aug-06 7:22 
AnswerRe: Error in istalling VS 2003 Pin
Nader Elshehabi20-Aug-06 9:56
Nader Elshehabi20-Aug-06 9:56 
GeneralRe: Error in istalling VS 2003 Pin
data1420-Aug-06 13:24
data1420-Aug-06 13:24 
QuestionProblem sending mail with attachments using smtp server Pin
MarcoPan20-Aug-06 7:12
MarcoPan20-Aug-06 7:12 
AnswerRe: Problem sending mail with attachments using smtp server Pin
Guffa20-Aug-06 7:57
Guffa20-Aug-06 7:57 
GeneralRe: Problem sending mail with attachments using smtp server Pin
MarcoPan20-Aug-06 11:03
MarcoPan20-Aug-06 11:03 
AnswerRe: Problem sending mail with attachments using smtp server Pin
Guffa20-Aug-06 11:10
Guffa20-Aug-06 11:10 
QuestionHow to remove a character from a string - help required Pin
James1984198420-Aug-06 4:45
James1984198420-Aug-06 4:45 
GeneralRe: How to remove a character from a string - help required Pin
Vitaliy Tsvayer20-Aug-06 5:15
Vitaliy Tsvayer20-Aug-06 5:15 
AnswerRe: How to remove a character from a string - help required Pin
Nader Elshehabi20-Aug-06 5:15
Nader Elshehabi20-Aug-06 5:15 

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.