Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: Audio conversation via network - problem! Pin
mikker_12330-Apr-06 6:25
mikker_12330-Apr-06 6:25 
GeneralRe: Audio conversation via network - problem! Pin
eyej1-May-06 6:48
eyej1-May-06 6:48 
GeneralRe: Audio conversation via network - problem! Pin
DandyRUR10-Nov-06 6:18
DandyRUR10-Nov-06 6:18 
QuestionPage Setup Dialog & Margins Pin
Graham Dean28-Apr-06 12:39
Graham Dean28-Apr-06 12:39 
AnswerRe: Page Setup Dialog & Margins Pin
Robert Rohde28-Apr-06 22:23
Robert Rohde28-Apr-06 22:23 
GeneralRe: Page Setup Dialog & Margins Pin
Graham Dean29-Apr-06 0:39
Graham Dean29-Apr-06 0:39 
QuestionC# and MS Access parameter passing Pin
achrafus28-Apr-06 11:37
achrafus28-Apr-06 11:37 
AnswerRe: C# and MS Access parameter passing Pin
Graham Nimbley28-Apr-06 11:49
Graham Nimbley28-Apr-06 11:49 
QuestionXmlSerializer problem in .NET 2.0 Pin
Wjousts28-Apr-06 11:02
Wjousts28-Apr-06 11:02 
AnswerRe: XmlSerializer problem in .NET 2.0 Pin
Ravi Bhavnani28-Apr-06 11:44
professionalRavi Bhavnani28-Apr-06 11:44 
GeneralRe: XmlSerializer problem in .NET 2.0 Pin
S. Senthil Kumar30-Apr-06 3:44
S. Senthil Kumar30-Apr-06 3:44 
GeneralRe: XmlSerializer problem in .NET 2.0 Pin
Ravi Bhavnani30-Apr-06 3:50
professionalRavi Bhavnani30-Apr-06 3:50 
GeneralRe: XmlSerializer problem in .NET 2.0 Pin
Wjousts1-May-06 4:05
Wjousts1-May-06 4:05 
AnswerRe: XmlSerializer problem in .NET 2.0 Pin
S. Senthil Kumar30-Apr-06 3:44
S. Senthil Kumar30-Apr-06 3:44 
GeneralRe: XmlSerializer problem in .NET 2.0 Pin
Wjousts1-May-06 4:07
Wjousts1-May-06 4:07 
QuestionStill random? Pin
Jon Sagara28-Apr-06 10:38
Jon Sagara28-Apr-06 10:38 
AnswerRe: Still random? Pin
Graham Nimbley28-Apr-06 11:57
Graham Nimbley28-Apr-06 11:57 
GeneralRe: Still random? Pin
Jon Sagara28-Apr-06 12:24
Jon Sagara28-Apr-06 12:24 
AnswerRe: Still random? Pin
Robert Rohde28-Apr-06 22:27
Robert Rohde28-Apr-06 22:27 
AnswerRe: Still random? Pin
Guffa28-Apr-06 23:35
Guffa28-Apr-06 23:35 
AnswerRe: Still random? Pin
leppie29-Apr-06 1:08
leppie29-Apr-06 1:08 
QuestionXML and XSL transform in C# Pin
PrashantJ28-Apr-06 9:29
PrashantJ28-Apr-06 9:29 
AnswerRe: XML and XSL transform in C# Pin
Ravi Bhavnani28-Apr-06 9:38
professionalRavi Bhavnani28-Apr-06 9:38 
QuestionFile.Copy Question Pin
cmarcus28-Apr-06 8:25
cmarcus28-Apr-06 8:25 
AnswerRe: File.Copy Question Pin
Graham Nimbley28-Apr-06 11:55
Graham Nimbley28-Apr-06 11:55 
cmarcus wrote:
have a file that is being written to using stream writer. The file is written in frequent, random intervals. If I were to use a seperate application to grab a copy of this file (using File.Copy), would there be a chance the two applications would collide, while trying to perform operations on the same file?


Assuming the stream writer has only locked the file for write operations (i.e. read operations are still allowed), then there should be no problem with the other application using File.Copy. It is essentially only reading the file.



cmarcus wrote:
Or is the File.Copy method independant of whether the file is in use.. meaning I'd get the most recent copy from the last stream writer update?


It will get the version that was last updated by stream writer as a result of flushing the buffer.

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.