Click here to Skip to main content
16,004,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Implementing Implements System.IDisposable Pin
Dave Kreskowiak8-Jan-07 9:15
mveDave Kreskowiak8-Jan-07 9:15 
GeneralRe: Implementing Implements System.IDisposable Pin
Christian Graus8-Jan-07 9:17
protectorChristian Graus8-Jan-07 9:17 
GeneralRe: Implementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 9:39
professionalMarcus J. Smith8-Jan-07 9:39 
GeneralRe: Implementing Implements System.IDisposable Pin
Dave Kreskowiak8-Jan-07 9:58
mveDave Kreskowiak8-Jan-07 9:58 
GeneralRe: Implementing Implements System.IDisposable Pin
nlarson118-Jan-07 9:35
nlarson118-Jan-07 9:35 
GeneralRe: Implementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 9:42
professionalMarcus J. Smith8-Jan-07 9:42 
GeneralRe: Implementing Implements System.IDisposable Pin
Dave Kreskowiak8-Jan-07 10:00
mveDave Kreskowiak8-Jan-07 10:00 
GeneralRe: Implementing Implements System.IDisposable Pin
Marcus J. Smith8-Jan-07 12:29
professionalMarcus J. Smith8-Jan-07 12:29 
Oh no, dont mark me as a bad coder! I wont be able to answer questions in good conscience again! I always close the connection in the Finally block after I use it. What I was asking as an example are what objects in that class are "Disposable"? Would I not only call a CN.Close but also a CN.Dispose? I think you can call a StreamReader.Close/Flush/Dispose.

So the path that got me to where I am right now is I havent used Implements IDisposable before. I also lost touch with my .Dispose self somewhere along the line and I guess I need to get back in touch with it.

The code I have "inherited" implements the IDisposable in a data access class. I dont know why but it does. The information I have read about Implements IDisposable makes it sound as if you only call that with COM objects, COM wrappers, unmanaged code calls, etc... Im trying to figure out the boundary of crazy "Disposing" and necessary "Disposing"

Thanks!!
Cleako
GeneralRe: Implementing Implements System.IDisposable Pin
Colin Angus Mackay8-Jan-07 13:09
Colin Angus Mackay8-Jan-07 13:09 
QuestionMinimize a Child Form in a Parent MDI Pin
Jason Holland8-Jan-07 7:19
Jason Holland8-Jan-07 7:19 
AnswerRe: Minimize a Child Form in a Parent MDI Pin
nlarson118-Jan-07 7:31
nlarson118-Jan-07 7:31 
GeneralRe: Minimize a Child Form in a Parent MDI Pin
Jason Holland8-Jan-07 7:41
Jason Holland8-Jan-07 7:41 
GeneralRe: Minimize a Child Form in a Parent MDI Pin
nlarson118-Jan-07 7:45
nlarson118-Jan-07 7:45 
QuestionForm font and colour change? [modified] Pin
harvey1078-Jan-07 6:33
harvey1078-Jan-07 6:33 
AnswerRe: Form font and colour change? Pin
nlarson118-Jan-07 7:02
nlarson118-Jan-07 7:02 
GeneralRe: Form font and colour change? Pin
harvey1078-Jan-07 7:15
harvey1078-Jan-07 7:15 
GeneralRe: Form font and colour change? Pin
nlarson118-Jan-07 7:20
nlarson118-Jan-07 7:20 
GeneralRe: Form font and colour change? Pin
harvey1078-Jan-07 7:28
harvey1078-Jan-07 7:28 
Questionhelp..how to read USB Flash drive serial number Pin
gladsmhe8-Jan-07 5:34
gladsmhe8-Jan-07 5:34 
AnswerRe: help..how to read USB Flash drive serial number Pin
nlarson118-Jan-07 7:42
nlarson118-Jan-07 7:42 
QuestionGraphic,DrawString cannot write a string Pin
Savas Cilve8-Jan-07 2:53
Savas Cilve8-Jan-07 2:53 
AnswerRe: Graphic,DrawString cannot write a string Pin
Dave Kreskowiak8-Jan-07 9:21
mveDave Kreskowiak8-Jan-07 9:21 
GeneralRe: Graphic,DrawString cannot write a string Pin
Savas Cilve8-Jan-07 21:53
Savas Cilve8-Jan-07 21:53 
GeneralRe: Graphic,DrawString cannot write a string Pin
Dave Kreskowiak9-Jan-07 2:45
mveDave Kreskowiak9-Jan-07 2:45 
GeneralRe: Graphic,DrawString cannot write a string Pin
Savas Cilve9-Jan-07 3:17
Savas Cilve9-Jan-07 3:17 

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.