Click here to Skip to main content
15,894,320 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to get color percentage distribution 4 an image? Pin
Dave Kreskowiak7-May-07 7:12
mveDave Kreskowiak7-May-07 7:12 
GeneralRe: how to get color percentage distribution 4 an image? Pin
icecool_567-May-07 7:15
icecool_567-May-07 7:15 
QuestionAdding rows dynamically in a DataGridView Pin
Subrahmanyam K7-May-07 6:52
Subrahmanyam K7-May-07 6:52 
AnswerRe: Adding rows dynamically in a DataGridView Pin
Salogus7-May-07 18:43
Salogus7-May-07 18:43 
AnswerRe: Adding rows dynamically in a DataGridView Pin
AFSEKI7-May-07 21:30
AFSEKI7-May-07 21:30 
AnswerRe: How to Generate a 16 bit Random number? Pin
Dave Kreskowiak7-May-07 7:09
mveDave Kreskowiak7-May-07 7:09 
QuestionHow to determine exe file size from it's process? Pin
Doan Quynh7-May-07 6:26
Doan Quynh7-May-07 6:26 
AnswerRe: How to determine exe file size from it's process? Pin
Dave Kreskowiak7-May-07 6:44
mveDave Kreskowiak7-May-07 6:44 
Doan Quynh wrote:
Exe File is deleted but its Process is still exist.


That's not possible, AFAIK. Once the .EXE starts, the file remains locked and can't be moved, renamed, opened for write access, or deleted.


Doan Quynh wrote:
Can I determine executable file size from its process on RAM?


Nope. There's no correlation between the two sizes. Had you asked about a .COM application, then yes, memory size is equal to code size in the file because .COM files were a memory-image format. How the code looked in RAM was how it looked in the file. .EXE are a segmented and packed format and can very quickly expand way beyond their file size while being loaded.









Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: How to determine exe file size from it's process? Pin
Doan Quynh7-May-07 14:55
Doan Quynh7-May-07 14:55 
GeneralRe: How to determine exe file size from it's process? Pin
Dave Kreskowiak7-May-07 17:42
mveDave Kreskowiak7-May-07 17:42 
QuestionHow to place write to memory rather than hard-disk? Pin
Khoramdin7-May-07 4:34
Khoramdin7-May-07 4:34 
AnswerRe: How to place write to memory rather than hard-disk? Pin
Tarakeshwar Reddy7-May-07 5:10
professionalTarakeshwar Reddy7-May-07 5:10 
QuestionRe: How to place write to memory rather than hard-disk? Pin
Khoramdin7-May-07 7:57
Khoramdin7-May-07 7:57 
AnswerRe: How to place write to memory rather than hard-disk? Pin
Tarakeshwar Reddy7-May-07 9:48
professionalTarakeshwar Reddy7-May-07 9:48 
QuestionPrinting GDI Drawing objects Pin
free_soul4247-May-07 4:25
free_soul4247-May-07 4:25 
AnswerRe: Printing GDI Drawing objects Pin
User 24629919-May-07 1:59
professionalUser 24629919-May-07 1:59 
QuestionC# and java Pin
Askalo7-May-07 4:12
Askalo7-May-07 4:12 
AnswerRe: C# and java Pin
Judah Gabriel Himango7-May-07 4:20
sponsorJudah Gabriel Himango7-May-07 4:20 
AnswerRe: C# and java Pin
Luc Pattyn7-May-07 6:42
sitebuilderLuc Pattyn7-May-07 6:42 
NewsRe: C# and java Pin
xuyennk7-May-07 7:59
xuyennk7-May-07 7:59 
AnswerRe: comparing multiples values Pin
szukuro7-May-07 4:13
szukuro7-May-07 4:13 
Questionerer Pin
Paramhans Dubey7-May-07 3:11
professionalParamhans Dubey7-May-07 3:11 
Questioncustom control Pin
D2raghu7-May-07 2:04
D2raghu7-May-07 2:04 
Questioncustom control Pin
D2raghu7-May-07 1:34
D2raghu7-May-07 1:34 
AnswerRe: custom control Pin
Judah Gabriel Himango7-May-07 4:03
sponsorJudah Gabriel Himango7-May-07 4:03 

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.