Click here to Skip to main content
14,607,021 members
   

C#

 
AnswerRe: Creating a Console in a WinForms Application Pin
Alan N9-Jun-09 9:04
MemberAlan N9-Jun-09 9:04 
QuestionSharing Internet using bluetooth devices Pin
Venki569-Jun-09 7:57
MemberVenki569-Jun-09 7:57 
AnswerRe: Sharing Internet using bluetooth devices Pin
EliottA9-Jun-09 8:10
MemberEliottA9-Jun-09 8:10 
Questionis there a way to bind a crystal report programincally Pin
neodeaths9-Jun-09 6:47
Memberneodeaths9-Jun-09 6:47 
AnswerRe: is there a way to bind a crystal report programincally Pin
SilimSayo9-Jun-09 9:43
MemberSilimSayo9-Jun-09 9:43 
QuestionWindows Service and Threading Pin
Saamir9-Jun-09 5:57
MemberSaamir9-Jun-09 5:57 
AnswerRe: Windows Service and Threading Pin
EliottA9-Jun-09 6:21
MemberEliottA9-Jun-09 6:21 
AnswerRe: Windows Service and Threading Pin
Luc Pattyn9-Jun-09 6:38
sitebuilderLuc Pattyn9-Jun-09 6:38 
Hi again,

there is a FileSystemWatcher class that monitors changes to a folder or file; the problem with it (and with any other method of observation you could possibly come up with) is that it recognizes changes, rather than states, i.e. it will tell you a file got created, got written to, etc, but it is unable to signal a file has reached a new and consistent state (there is no FileClosed event or something similar).

The only really good way is for the file creator to signal you when a file create or update has been executed to completion.

I see no need to use threading, unless maybe if you want to watch several folders. You might want to tell us more about what the files are about, and what you intend to do to them.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Windows Service and Threading Pin
Saamir9-Jun-09 9:31
MemberSaamir9-Jun-09 9:31 
GeneralRe: Windows Service and Threading Pin
Mycroft Holmes9-Jun-09 14:26
professionalMycroft Holmes9-Jun-09 14:26 
GeneralRe: Windows Service and Threading Pin
Luc Pattyn10-Jun-09 8:37
sitebuilderLuc Pattyn10-Jun-09 8:37 
AnswerRe: Windows Service and Threading Pin
Abhijit Jana9-Jun-09 6:46
professionalAbhijit Jana9-Jun-09 6:46 
GeneralRe: Windows Service and Threading Pin
Saamir9-Jun-09 9:28
MemberSaamir9-Jun-09 9:28 
GeneralRe: Windows Service and Threading Pin
Abhijit Jana9-Jun-09 10:42
professionalAbhijit Jana9-Jun-09 10:42 
GeneralRe: Windows Service and Threading Pin
Saamir9-Jun-09 10:52
MemberSaamir9-Jun-09 10:52 
GeneralRe: Windows Service and Threading Pin
Abhijit Jana9-Jun-09 11:05
professionalAbhijit Jana9-Jun-09 11:05 
GeneralRe: Windows Service and Threading Pin
Saamir9-Jun-09 11:17
MemberSaamir9-Jun-09 11:17 
JokeRe: Windows Service and Threading Pin
Abhijit Jana9-Jun-09 11:23
professionalAbhijit Jana9-Jun-09 11:23 
QuestionIs it at all possible to get the REAL amount of memory installed on the computer? Pin
taralex9-Jun-09 5:39
Membertaralex9-Jun-09 5:39 
AnswerRe: Is it at all possible to get the REAL amount of memory installed on the computer? Pin
Dave Kreskowiak9-Jun-09 7:05
mveDave Kreskowiak9-Jun-09 7:05 
GeneralRe: Is it at all possible to get the REAL amount of memory installed on the computer? Pin
Luc Pattyn9-Jun-09 7:24
sitebuilderLuc Pattyn9-Jun-09 7:24 
GeneralRe: Is it at all possible to get the REAL amount of memory installed on the computer? [modified] Pin
taralex9-Jun-09 7:38
Membertaralex9-Jun-09 7:38 
QuestionTaking screenshots from games Pin
SimpleData9-Jun-09 4:13
MemberSimpleData9-Jun-09 4:13 
GeneralRe: Taking screenshots from games Pin
harold aptroot9-Jun-09 5:30
Memberharold aptroot9-Jun-09 5:30 
AnswerRe: Taking screenshots from games Pin
Baeltazor9-Jun-09 6:14
MemberBaeltazor9-Jun-09 6:14 

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.