Click here to Skip to main content
15,917,565 members
Home / Discussions / C#
   

C#

 
GeneralRe: Please help me POP3 with attachment Pin
Heath Stewart16-May-04 12:24
protectorHeath Stewart16-May-04 12:24 
GeneralCheck if Windows Form is already loaded Pin
Alan Zhao14-May-04 16:21
Alan Zhao14-May-04 16:21 
GeneralRe: Check if Windows Form is already loaded Pin
..Hubert..15-May-04 0:49
..Hubert..15-May-04 0:49 
GeneralRe: Check if Windows Form is already loaded Pin
Dave Kreskowiak15-May-04 3:01
mveDave Kreskowiak15-May-04 3:01 
GeneralRe: Check if Windows Form is already loaded Pin
Alan Zhao15-May-04 6:07
Alan Zhao15-May-04 6:07 
GeneralRe: Check if Windows Form is already loaded Pin
Dave Kreskowiak15-May-04 9:15
mveDave Kreskowiak15-May-04 9:15 
GeneralRe: Check if Windows Form is already loaded Pin
Alan Zhao15-May-04 14:44
Alan Zhao15-May-04 14:44 
GeneralRe: Check if Windows Form is already loaded Pin
Dave Kreskowiak16-May-04 4:15
mveDave Kreskowiak16-May-04 4:15 
Actually you do both, call the Dispose() method and set the variable to null. Dispose will tell the instance to release the resources it holds while setting the variable to null will release the reference to that instance.

Calling Dispose will release the resources when YOU want it to and not when the garbage collector gets around to calling Dispose for you. When you set your variable to null, the reference to that instance is dropped and, since you already called Dispose, the garbage collector only has to free the memory that the instance occupied. When you do both Dispose and null, you release resources and memory much quicker than if you waited for the GC to get around to it.




RageInTheMachine9532
GeneralWSE Client recieveing attachment from service. Pin
Michael A. Barnhart14-May-04 16:09
Michael A. Barnhart14-May-04 16:09 
GeneralRe: WSE Client recieveing attachment from service. Pin
Michael A. Barnhart15-May-04 2:12
Michael A. Barnhart15-May-04 2:12 
Generaltapi communication over the LAN Pin
Member 69108914-May-04 15:43
Member 69108914-May-04 15:43 
GeneralRe: tapi communication over the LAN Pin
Dave Kreskowiak15-May-04 3:04
mveDave Kreskowiak15-May-04 3:04 
GeneralRe: tapi communication over the LAN Pin
Member 69108915-May-04 6:55
Member 69108915-May-04 6:55 
GeneralRe: tapi communication over the LAN Pin
Dave Kreskowiak15-May-04 9:21
mveDave Kreskowiak15-May-04 9:21 
GeneralRe: tapi communication over the LAN Pin
Member 69108916-May-04 2:53
Member 69108916-May-04 2:53 
GeneralRe: tapi communication over the LAN Pin
Dave Kreskowiak16-May-04 4:22
mveDave Kreskowiak16-May-04 4:22 
GeneralRe: tapi communication over the LAN Pin
Member 69108916-May-04 7:57
Member 69108916-May-04 7:57 
GeneralRe: tapi communication over the LAN Pin
Dave Kreskowiak16-May-04 11:52
mveDave Kreskowiak16-May-04 11:52 
GeneralRe: tapi communication over the LAN Pin
andré_k28-Dec-04 21:49
andré_k28-Dec-04 21:49 
GeneralPassing data between forms Pin
pj4FarEweDsf14-May-04 14:35
pj4FarEweDsf14-May-04 14:35 
GeneralRe: Passing data between forms Pin
Meysam Mahfouzi14-May-04 16:05
Meysam Mahfouzi14-May-04 16:05 
GeneralRe: Passing data between forms Pin
Jeff Varszegi15-May-04 6:23
professionalJeff Varszegi15-May-04 6:23 
GeneralTicker –Gimme Some Desktop property.. Pin
Eustov14-May-04 13:56
Eustov14-May-04 13:56 
General"DataGrid received an exception at design time. Please reset the DataSource and DataMember property on the grid." Pin
turtle9549214-May-04 11:37
turtle9549214-May-04 11:37 
GeneralRedrawing form borders Pin
PhineasPhreak14-May-04 10:41
PhineasPhreak14-May-04 10:41 

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.