Click here to Skip to main content
16,019,619 members
Home / Discussions / C#
   

C#

 
AnswerRe: string encoding Pin
leppie11-Jun-08 23:14
leppie11-Jun-08 23:14 
AnswerRe: string encoding Pin
baerten11-Jun-08 23:23
baerten11-Jun-08 23:23 
QuestionMicrosoft visula source safe Pin
mrcooll11-Jun-08 22:31
mrcooll11-Jun-08 22:31 
AnswerRe: Microsoft visula source safe Pin
Colin Angus Mackay11-Jun-08 22:53
Colin Angus Mackay11-Jun-08 22:53 
GeneralRe: Microsoft visula source safe Pin
mrcooll11-Jun-08 23:07
mrcooll11-Jun-08 23:07 
GeneralRe: Microsoft visula source safe Pin
Colin Angus Mackay11-Jun-08 23:42
Colin Angus Mackay11-Jun-08 23:42 
AnswerRe: Microsoft visula source safe Pin
Harvey Saayman12-Jun-08 2:12
Harvey Saayman12-Jun-08 2:12 
QuestionQuestion regarding a lock on a file Pin
thoru11-Jun-08 22:06
thoru11-Jun-08 22:06 
Hello,
I think this is the first time i post a question on the codeproject, so hope it goes wellSmile | :)
So, the question is:
How can i lock a file while it is being written so that other processes cannot move/delete or access it.
I have a file that is being written into by an application on a remote machine and a windows service on the local machine that connects to the remote machine and downloads that file.
The problem is that i want to download the file only after the write process has stopped completely.
How can this be done?
And a related question: How can this be done if i try to download the file from a ftp server.
Both remote and local machine are under XP and the applications are written in c#.

Thank you
AnswerRe: Question regarding a lock on a file Pin
Giorgi Dalakishvili11-Jun-08 22:22
mentorGiorgi Dalakishvili11-Jun-08 22:22 
QuestionRandom Numbers Pin
jonhbt11-Jun-08 21:30
jonhbt11-Jun-08 21:30 
AnswerRe: Random Numbers Pin
Ashfield11-Jun-08 21:32
Ashfield11-Jun-08 21:32 
AnswerRe: Random Numbers Pin
Vikram A Punathambekar11-Jun-08 23:29
Vikram A Punathambekar11-Jun-08 23:29 
GeneralRe: Random Numbers Pin
Russell Jones12-Jun-08 0:22
Russell Jones12-Jun-08 0:22 
GeneralRe: Random Numbers Pin
Russell Jones12-Jun-08 0:37
Russell Jones12-Jun-08 0:37 
GeneralRe: Random Numbers Pin
Simon P Stevens12-Jun-08 1:42
Simon P Stevens12-Jun-08 1:42 
GeneralRe: Random Numbers Pin
Russell Jones12-Jun-08 5:36
Russell Jones12-Jun-08 5:36 
AnswerDéjà vu Pin
Vikram A Punathambekar12-Jun-08 8:09
Vikram A Punathambekar12-Jun-08 8:09 
GeneralRe: Déjà vu Pin
Russell Jones12-Jun-08 20:30
Russell Jones12-Jun-08 20:30 
AnswerRe: Random Numbers Pin
Guffa12-Jun-08 2:30
Guffa12-Jun-08 2:30 
AnswerRe: Random Numbers Pin
User 665812-Jun-08 5:01
User 665812-Jun-08 5:01 
QuestionDLL for Windows Forms? Pin
Megidolaon11-Jun-08 21:14
Megidolaon11-Jun-08 21:14 
AnswerRe: DLL for Windows Forms? Pin
leppie11-Jun-08 23:17
leppie11-Jun-08 23:17 
AnswerRe: DLL for Windows Forms? Pin
Megidolaon12-Jun-08 0:34
Megidolaon12-Jun-08 0:34 
GeneralRe: DLL for Windows Forms? Pin
DaveyM6912-Jun-08 0:45
professionalDaveyM6912-Jun-08 0:45 
GeneralRe: DLL for Windows Forms? Pin
Megidolaon18-Jun-08 4:03
Megidolaon18-Jun-08 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.