Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to know a EXE file was written by .net language or not? Pin
goldli3-Apr-07 14:11
goldli3-Apr-07 14:11 
QuestionLive rich text box editing Pin
Esmo20002-Apr-07 13:53
Esmo20002-Apr-07 13:53 
AnswerRe: Live rich text box editing Pin
joon vh.2-Apr-07 23:28
joon vh.2-Apr-07 23:28 
QuestionCan i use GC.Collect() ? Pin
engsrini2-Apr-07 12:40
engsrini2-Apr-07 12:40 
AnswerRe: Can i use GC.Collect() ? Pin
Christian Graus2-Apr-07 12:58
protectorChristian Graus2-Apr-07 12:58 
GeneralRe: Can i use GC.Collect() ? Pin
engsrini2-Apr-07 13:16
engsrini2-Apr-07 13:16 
GeneralRe: Can i use GC.Collect() ? Pin
Christian Graus2-Apr-07 13:21
protectorChristian Graus2-Apr-07 13:21 
GeneralRe: Can i use GC.Collect() ? Pin
engsrini2-Apr-07 13:30
engsrini2-Apr-07 13:30 
Christian Graus wrote:
Sure, it may force some items that had been marked for 2nd or 3rd generation cleanup to disappear, but this can *hurt* performance. Did your app run faster, or did some number you've fixated on just change ?


My application is running normal after using it (may be i didn't do thoruough testing and didn't do remote debugging stuffs), I am not using GC.Collect at all the places.. Whenever the user run the test steps with larger iterations, then i will try that command. One more reason for larger memory i am using lot of images for my applicaition since our application is Touch screen we used lot graphics. So as per your suggestion i will put the dispose method wherever necessary, is there any other way to avoid memory leak or any tool to notify me the memory leaks? also is there anyway to idenify the memory used is huge, i suppose to call GC.Collect.
GeneralRe: Can i use GC.Collect() ? Pin
Christian Graus2-Apr-07 13:40
protectorChristian Graus2-Apr-07 13:40 
QuestionRe: Can i use GC.Collect() ? Pin
JacquesDP2-Apr-07 21:11
JacquesDP2-Apr-07 21:11 
AnswerRe: Can i use GC.Collect() ? Pin
Christian Graus2-Apr-07 21:59
protectorChristian Graus2-Apr-07 21:59 
GeneralRe: Can i use GC.Collect() ? Pin
JacquesDP2-Apr-07 22:03
JacquesDP2-Apr-07 22:03 
GeneralRe: Can i use GC.Collect() ? Pin
Scott Dorman2-Apr-07 14:44
professionalScott Dorman2-Apr-07 14:44 
QuestionRe: Can i use GC.Collect() ? Pin
Martin#2-Apr-07 21:24
Martin#2-Apr-07 21:24 
AnswerRe: Can i use GC.Collect() ? Pin
Scott Dorman3-Apr-07 1:05
professionalScott Dorman3-Apr-07 1:05 
GeneralRe: Can i use GC.Collect() ? Pin
Martin#3-Apr-07 4:05
Martin#3-Apr-07 4:05 
GeneralRe: Can i use GC.Collect() ? Pin
Martin#2-Apr-07 20:28
Martin#2-Apr-07 20:28 
QuestionSetting 'OnClick' for dynamic button in Code behind Pin
Chris McGlothen2-Apr-07 11:59
Chris McGlothen2-Apr-07 11:59 
QuestionScheduling (user input time = system time Pin
orly00132-Apr-07 11:37
orly00132-Apr-07 11:37 
AnswerRe: Scheduling (user input time = system time Pin
Judah Gabriel Himango2-Apr-07 13:06
sponsorJudah Gabriel Himango2-Apr-07 13:06 
AnswerRe: Scheduling (user input time = system time Pin
Leslie Sanford2-Apr-07 16:40
Leslie Sanford2-Apr-07 16:40 
QuestionClosing ComboBox DropDownList Programmatically Pin
freshonlineMax2-Apr-07 10:49
freshonlineMax2-Apr-07 10:49 
AnswerRe: Closing ComboBox DropDownList Programmatically Pin
Judah Gabriel Himango2-Apr-07 13:04
sponsorJudah Gabriel Himango2-Apr-07 13:04 
QuestionShowDialogue Pin
AAKAra2-Apr-07 10:32
AAKAra2-Apr-07 10:32 
AnswerRe: ShowDialogue Pin
Christian Graus2-Apr-07 12:26
protectorChristian Graus2-Apr-07 12:26 

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.