Click here to Skip to main content
15,906,645 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Changing the windows desktop background color programmatically Pin
Jun Du23-Aug-06 8:12
Jun Du23-Aug-06 8:12 
GeneralRe: Changing the windows desktop background color programmatically Pin
BarV30-Aug-06 19:28
BarV30-Aug-06 19:28 
Question[Message Deleted] Pin
R_L_H23-Aug-06 4:02
R_L_H23-Aug-06 4:02 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Steve Maier23-Aug-06 4:22
professionalSteve Maier23-Aug-06 4:22 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Dan Neely23-Aug-06 4:29
Dan Neely23-Aug-06 4:29 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Dan Neely23-Aug-06 4:31
Dan Neely23-Aug-06 4:31 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management [modified] Pin
Mike Dimmick23-Aug-06 10:23
Mike Dimmick23-Aug-06 10:23 
AnswerRe: Questions about Framework 2.0 Garbage Collection and Memory Management Pin
Scott Dorman1-Sep-06 15:57
professionalScott Dorman1-Sep-06 15:57 
The responses by Dan and Mike are absolutely correct. You also should not rely on GC.Collect, as it interferes with the natural GC collection schedule, which can actually hurt your application performance. The GC runs on its own thread and actually freezes your applications main thread while it is running. Instead of calling GC.Collect when the child form is closed, you really should be calling the Dispose method of the form.

In addition to the blog mentioned, you can check http://www.codeproject.com/useritems/idisposable.asp[^] for an explanation on how to implement the Dispose pattern.
QuestionWhy reference variables are stored on heap Pin
karan vidyut23-Aug-06 1:57
karan vidyut23-Aug-06 1:57 
AnswerRe: Why reference variables are stored on heap Pin
Jun Du23-Aug-06 4:41
Jun Du23-Aug-06 4:41 
AnswerRe: Why reference variables are stored on heap Pin
Colin Angus Mackay24-Aug-06 2:27
Colin Angus Mackay24-Aug-06 2:27 
AnswerRe: Why reference variables are stored on heap Pin
Guffa24-Aug-06 3:17
Guffa24-Aug-06 3:17 
QuestionSend page by email Pin
sujasmaill22-Aug-06 22:04
sujasmaill22-Aug-06 22:04 
QuestionProblem hosting webpage on server/ domain Pin
sandeep kumar pundhir22-Aug-06 19:57
sandeep kumar pundhir22-Aug-06 19:57 
AnswerRe: Problem hosting webpage on server/ domain Pin
Mike Dimmick23-Aug-06 0:25
Mike Dimmick23-Aug-06 0:25 
QuestionSystem Administration for Windows Pin
Mostafa Siraj22-Aug-06 10:48
Mostafa Siraj22-Aug-06 10:48 
AnswerRe: System Administration for Windows Pin
Jun Du23-Aug-06 4:46
Jun Du23-Aug-06 4:46 
GeneralRe: System Administration for Windows Pin
Mostafa Siraj23-Aug-06 8:13
Mostafa Siraj23-Aug-06 8:13 
Questionhow to make a dbx file Pin
Parshant Verma22-Aug-06 0:18
Parshant Verma22-Aug-06 0:18 
QuestionPassing Data from ASP.NET to Axis Web Service Pin
bryan paling21-Aug-06 19:24
bryan paling21-Aug-06 19:24 
AnswerRe: Passing Data from ASP.NET to Axis Web Service Pin
stevepham4225-Aug-06 0:22
stevepham4225-Aug-06 0:22 
QuestionRunning other Applications (exe) Pin
Md.Imdad21-Aug-06 10:41
Md.Imdad21-Aug-06 10:41 
AnswerRe: Running other Applications (exe) Pin
Jun Du22-Aug-06 12:44
Jun Du22-Aug-06 12:44 
QuestionASP .NET Datagrid SQL SELECT Parameter Problem Pin
Soot21-Aug-06 9:57
Soot21-Aug-06 9:57 
QuestionLarge Heap Doesn't Compact? Pin
BarV21-Aug-06 8:28
BarV21-Aug-06 8:28 

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.