Click here to Skip to main content
15,905,068 members
Home / Discussions / C#
   

C#

 
GeneralRe: DataSet.HasChanges won't become True Pin
MohammadAmiry1-Apr-06 5:20
MohammadAmiry1-Apr-06 5:20 
GeneralRe: DataSet.HasChanges won't become True Pin
Jimbo221-Apr-06 22:52
Jimbo221-Apr-06 22:52 
GeneralRe: DataSet.HasChanges won't become True Pin
MohammadAmiry2-Apr-06 10:12
MohammadAmiry2-Apr-06 10:12 
Questionfind tool in text editor Pin
abdelhameed8131-Mar-06 11:25
abdelhameed8131-Mar-06 11:25 
QuestionStreaming JPEG data into a PDF file Pin
alstroemeria31-Mar-06 10:58
alstroemeria31-Mar-06 10:58 
AnswerRe: Streaming JPEG data into a PDF file Pin
MarkInNH31-Mar-06 11:31
MarkInNH31-Mar-06 11:31 
GeneralRe: Streaming JPEG data into a PDF file Pin
alstroemeria31-Mar-06 12:01
alstroemeria31-Mar-06 12:01 
GeneralRe: Streaming JPEG data into a PDF file Pin
MarkInNH3-Apr-06 13:02
MarkInNH3-Apr-06 13:02 
QuestionC# VS.2005 application deployment help Pin
BambooMoon31-Mar-06 10:44
BambooMoon31-Mar-06 10:44 
AnswerRe: C# VS.2005 application deployment help Pin
Ed.Poore1-Apr-06 8:50
Ed.Poore1-Apr-06 8:50 
GeneralRe: C# VS.2005 application deployment help Pin
BambooMoon2-Apr-06 7:14
BambooMoon2-Apr-06 7:14 
GeneralRe: C# VS.2005 application deployment help Pin
Ed.Poore2-Apr-06 9:08
Ed.Poore2-Apr-06 9:08 
QuestionHow to put a .gif picture in word doc. using c#? Pin
JuJAngel31-Mar-06 10:20
JuJAngel31-Mar-06 10:20 
QuestionTotally Beginner Question.. Updating SQL Server DB. Pin
HopefulCoder31-Mar-06 9:06
HopefulCoder31-Mar-06 9:06 
AnswerRe: Totally Beginner Question.. Updating SQL Server DB. Pin
xvaughan31-Mar-06 9:09
xvaughan31-Mar-06 9:09 
GeneralRe: Totally Beginner Question.. Updating SQL Server DB. Pin
HopefulCoder31-Mar-06 9:21
HopefulCoder31-Mar-06 9:21 
QuestionHow to register C# COM class? Pin
CherezZaboro31-Mar-06 8:52
CherezZaboro31-Mar-06 8:52 
QuestionTimer stop working??? Pin
Small Rat31-Mar-06 8:26
Small Rat31-Mar-06 8:26 
AnswerRe: Timer stop working??? Pin
Judah Gabriel Himango31-Mar-06 9:04
sponsorJudah Gabriel Himango31-Mar-06 9:04 
GeneralRe: Timer stop working??? Pin
Small Rat31-Mar-06 9:57
Small Rat31-Mar-06 9:57 
GeneralRe: Timer stop working??? Pin
Robert M Greene1-Apr-06 15:04
Robert M Greene1-Apr-06 15:04 
QuestionProgram uses less RAM when minimised Pin
andy18031-Mar-06 7:37
andy18031-Mar-06 7:37 
AnswerRe: Program uses less RAM when minimised Pin
kasik31-Mar-06 8:15
kasik31-Mar-06 8:15 
Why would you want to?

It gives your app less room to 'move' and you will feel a reasonable performance hit if you do - due to the program having to ask for more memory when it needs it, rather than using its reserve. Appart from the nice warm fuzzy feeling you get when you see the smaller memory usage in Task Manager, this serves no purpose. The usage shown by task manager is merely the applications working set, not its actual memory consumption.

You can, however, do this in C# like so...
System.Diagnostics.Process currentProcess = System.Diagnostics.Process.GetCurrentProcess();
currentProcess.MinWorkingSet = currentProcess.MinWorkingSet;
(that code comes from here[^])

Cheers,
Will H
GeneralRe: Program uses less RAM when minimised Pin
andy18031-Mar-06 8:29
andy18031-Mar-06 8:29 
QuestionLoad Assembly (file not found!)? Pin
superwasabidave31-Mar-06 7:27
superwasabidave31-Mar-06 7:27 

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.