Click here to Skip to main content
15,902,840 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can i prevent my application from being closed using task manager ? Pin
Jacob Dixon19-Apr-09 6:20
Jacob Dixon19-Apr-09 6:20 
AnswerRe: how can i prevent my application from being closed using task manager ? Pin
Xmen Real 19-Apr-09 6:24
professional Xmen Real 19-Apr-09 6:24 
GeneralRe: how can i prevent my application from being closed using task manager ? Pin
challouf19-Apr-09 7:22
challouf19-Apr-09 7:22 
AnswerRe: how can i prevent my application from being closed using task manager ? Pin
mmfatemi2-Jul-10 20:48
mmfatemi2-Jul-10 20:48 
Questionhow to extract attachments from PST and OST files Pin
Ramin Rahimee19-Apr-09 2:34
Ramin Rahimee19-Apr-09 2:34 
AnswerRe: how to extract attachments from PST and OST files Pin
_Maxxx_19-Apr-09 16:50
professional_Maxxx_19-Apr-09 16:50 
GeneralRe: how to extract attachments from PST and OST files Pin
Ramin Rahimee19-Apr-09 18:16
Ramin Rahimee19-Apr-09 18:16 
QuestionOptimizing File Copy Time Pin
#realJSOP19-Apr-09 1:47
professional#realJSOP19-Apr-09 1:47 
I've written some code that takes 2 or more files and joins them together into a single file, essentially duplicating the functionality you see when you use the DOS copy /B file + file + file outputfile command. The problem is that it takes what I consider an exorbitant amount of time to perform this action. Granted the source files are as big as 1gb in size, but it just seems to me that I can make this process faster, so I'm here asking for possible approaches to the problem.

Essentially, I'm opening up each source file and reading blocks of the file at a time, and then writing to the target file. Due to the total size of the target file, I can't simply read in the entire set of files at once (as big as 8gb) and then write it out all at once) I've tried 256k blocks, 512k blocks, and 1mb blocks, but they all perform about the same (no empirical data to back this up, just an "impression"). Is it better to go with reading larger blocks or smaller blocks? Anyone have any insight?


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


AnswerRe: Optimizing File Copy Time Pin
Mycroft Holmes19-Apr-09 1:57
professionalMycroft Holmes19-Apr-09 1:57 
AnswerRe: Optimizing File Copy Time Pin
S. Senthil Kumar19-Apr-09 2:00
S. Senthil Kumar19-Apr-09 2:00 
AnswerRe: Optimizing File Copy Time Pin
Luc Pattyn19-Apr-09 2:30
sitebuilderLuc Pattyn19-Apr-09 2:30 
GeneralRe: Optimizing File Copy Time Pin
harold aptroot19-Apr-09 2:58
harold aptroot19-Apr-09 2:58 
Questionhow to scroll the contents of a text file Pin
mist_psycho19-Apr-09 1:10
mist_psycho19-Apr-09 1:10 
AnswerRe: how to scroll the contents of a text file Pin
Luc Pattyn19-Apr-09 1:41
sitebuilderLuc Pattyn19-Apr-09 1:41 
QuestionHow to retrieve DatabaseObjects ExtentendedProperties ? Pin
hdv21219-Apr-09 0:56
hdv21219-Apr-09 0:56 
AnswerRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
Mycroft Holmes19-Apr-09 1:43
professionalMycroft Holmes19-Apr-09 1:43 
GeneralRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
hdv21219-Apr-09 2:06
hdv21219-Apr-09 2:06 
GeneralRe: How to retrieve DatabaseObjects ExtentendedProperties ? Pin
Henry Minute19-Apr-09 13:06
Henry Minute19-Apr-09 13:06 
Questionloading form design from xml file Pin
samy10019-Apr-09 0:55
samy10019-Apr-09 0:55 
AnswerRe: loading form design from xml file Pin
Mycroft Holmes19-Apr-09 1:49
professionalMycroft Holmes19-Apr-09 1:49 
AnswerRe: loading form design from xml file Pin
Henry Minute19-Apr-09 13:07
Henry Minute19-Apr-09 13:07 
QuestionBurning text effect in GDI+ Pin
ErezRozn19-Apr-09 0:28
ErezRozn19-Apr-09 0:28 
JokeRe: Burning text effect in GDI+ Pin
Mycroft Holmes19-Apr-09 1:51
professionalMycroft Holmes19-Apr-09 1:51 
GeneralRe: Anyone actualy wants to answer this question? Pin
ErezRozn19-Apr-09 2:06
ErezRozn19-Apr-09 2:06 
GeneralRe: Anyone actualy wants to answer this question? Pin
OriginalGriff19-Apr-09 4:01
mveOriginalGriff19-Apr-09 4:01 

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.