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

C#

 
GeneralRe: C# Windows Service Pin
RobCroll9-Jun-11 3:55
RobCroll9-Jun-11 3:55 
AnswerRe: C# Windows Service Pin
Luc Pattyn9-Jun-11 3:59
sitebuilderLuc Pattyn9-Jun-11 3:59 
GeneralRe: C# Windows Service Pin
RobCroll11-Jun-11 19:54
RobCroll11-Jun-11 19:54 
AnswerRe: C# Windows Service Pin
Luc Pattyn12-Jun-11 1:29
sitebuilderLuc Pattyn12-Jun-11 1:29 
GeneralRe: C# Windows Service Pin
AspDotNetDev9-Jun-11 8:01
protectorAspDotNetDev9-Jun-11 8:01 
AnswerRe: C# Windows Service Pin
Luc Pattyn9-Jun-11 8:14
sitebuilderLuc Pattyn9-Jun-11 8:14 
GeneralRe: C# Windows Service Pin
AspDotNetDev9-Jun-11 8:28
protectorAspDotNetDev9-Jun-11 8:28 
AnswerRe: C# Windows Service Pin
Luc Pattyn9-Jun-11 8:53
sitebuilderLuc Pattyn9-Jun-11 8:53 
With renaming, you're potentially in for a surprise. You have to close the file before you can rename it, and in that short period of time the file could be opened by any of those utterly helpful little programs (indexers, virus scanners, etc) trying to inspect or process the new information, and thus preventing you from renaming the file. So you end up creating the same wait-and-retry loop you need to get reasonable chance of deleting a newly created file; and this logic needs to be added to the producer, who wouldn't really care much. That is why I prefer the sentinel file scheme.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.4

QuestionCallbackOnCollectedDelegate exception when using DDE to get URLs from Navigators Pin
moums8-Jun-11 13:54
moums8-Jun-11 13:54 
Questionstring formate Pin
jashimu8-Jun-11 8:20
jashimu8-Jun-11 8:20 
AnswerRe: string formate Pin
Ennis Ray Lynch, Jr.8-Jun-11 8:29
Ennis Ray Lynch, Jr.8-Jun-11 8:29 
AnswerRe: string formate Pin
mabrahao8-Jun-11 9:07
mabrahao8-Jun-11 9:07 
AnswerRe: string formate Pin
AspDotNetDev8-Jun-11 9:16
protectorAspDotNetDev8-Jun-11 9:16 
AnswerRe: string formate Pin
AspDotNetDev8-Jun-11 9:15
protectorAspDotNetDev8-Jun-11 9:15 
GeneralRe: string formate Pin
jashimu8-Jun-11 11:04
jashimu8-Jun-11 11:04 
AnswerRe: string formate Pin
Pete O'Hanlon8-Jun-11 10:55
mvePete O'Hanlon8-Jun-11 10:55 
GeneralRe: string formate Pin
AspDotNetDev8-Jun-11 11:38
protectorAspDotNetDev8-Jun-11 11:38 
AnswerRe: string formate PinPopular
Luc Pattyn8-Jun-11 12:32
sitebuilderLuc Pattyn8-Jun-11 12:32 
GeneralRe: string formate Pin
AmbiguousName8-Jun-11 21:46
AmbiguousName8-Jun-11 21:46 
GeneralRe: string formate Pin
Lutosław11-Jun-11 12:13
Lutosław11-Jun-11 12:13 
AnswerRe: string formate Pin
Luc Pattyn11-Jun-11 12:17
sitebuilderLuc Pattyn11-Jun-11 12:17 
GeneralRe: string formate Pin
Lutosław11-Jun-11 12:45
Lutosław11-Jun-11 12:45 
AnswerRe: string formate Pin
Luc Pattyn11-Jun-11 12:51
sitebuilderLuc Pattyn11-Jun-11 12:51 
Questioninstantiating a generic object [modified] Pin
mabrahao8-Jun-11 5:53
mabrahao8-Jun-11 5:53 
AnswerRe: instantiating a generic object Pin
Ennis Ray Lynch, Jr.8-Jun-11 6:11
Ennis Ray Lynch, Jr.8-Jun-11 6:11 

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.