Click here to Skip to main content
15,889,813 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to add a now treenode in the following code? Pin
Malcolm Smart5-Feb-08 1:54
Malcolm Smart5-Feb-08 1:54 
QuestionHow do I draw a lines in a cirle? Pin
east854-Feb-08 22:53
east854-Feb-08 22:53 
GeneralRe: How do I draw a lines in a cirle? Pin
Abhijit Jana5-Feb-08 0:20
professionalAbhijit Jana5-Feb-08 0:20 
GeneralRe: How do I draw a lines in a cirle? Pin
Guffa5-Feb-08 2:44
Guffa5-Feb-08 2:44 
GeneralRe: How do I draw a lines in a cirle? Pin
east855-Feb-08 20:03
east855-Feb-08 20:03 
GeneralRe: How do I draw a lines in a cirle? Pin
Guffa5-Feb-08 20:57
Guffa5-Feb-08 20:57 
QuestionHow to know when a file created is completed? (in FilestreamWatcher) Pin
Sara1234-Feb-08 22:49
Sara1234-Feb-08 22:49 
AnswerRe: How to know when a file created is completed? (in FilestreamWatcher) Pin
Giorgi Dalakishvili4-Feb-08 22:56
mentorGiorgi Dalakishvili4-Feb-08 22:56 
According to MSDN: The Windows operating system notifies your component of file changes in a buffer created by the FileSystemWatcher. If there are many changes in a short time, the buffer can overflow. This causes the component to lose track of changes in the directory, and it will only provide blanket notification. Increasing the size of the buffer with the InternalBufferSize property is expensive, as it comes from non-paged memory that cannot be swapped out to disk, so keep the buffer as small yet large enough to not miss any file change events. To avoid a buffer overflow, use the NotifyFilter and IncludeSubdirectories properties so you can filter out unwanted change notifications.

To keep from missing events, follow these guidelines:

Increasing the buffer size with the InternalBufferSize property can prevent missing file system change events.
Avoid watching files with long file names. Consider renaming using shorter names.
Keep your event handling code as short as possible.

#region signature
my articles
#endregion

GeneralRe: How to know when a file created is completed? (in FilestreamWatcher) Pin
Sara1234-Feb-08 23:46
Sara1234-Feb-08 23:46 
GeneralRe: How to know when a file created is completed? (in FilestreamWatcher) Pin
Giorgi Dalakishvili5-Feb-08 0:28
mentorGiorgi Dalakishvili5-Feb-08 0:28 
GeneralRe: How to know when a file created is completed? (in FilestreamWatcher) Pin
Sara1235-Feb-08 0:01
Sara1235-Feb-08 0:01 
Generalcrystal report error Pin
Member 7816104-Feb-08 22:47
Member 7816104-Feb-08 22:47 
Question.NET (C#) and Word Application Pin
Emanuil ACHIM4-Feb-08 22:44
Emanuil ACHIM4-Feb-08 22:44 
GeneralRe: .NET (C#) and Word Application Pin
Christian Graus4-Feb-08 22:49
protectorChristian Graus4-Feb-08 22:49 
GeneralRe: .NET (C#) and Word Application Pin
Malcolm Smart5-Feb-08 1:58
Malcolm Smart5-Feb-08 1:58 
Generalmdf and ldf file name from Backup DataBase Pin
Thaer Hamael4-Feb-08 22:41
Thaer Hamael4-Feb-08 22:41 
GeneralRe: mdf and ldf file name from Backup DataBase Pin
Christian Graus4-Feb-08 22:50
protectorChristian Graus4-Feb-08 22:50 
QuestionHow to retrieve mail from pop server and save as outlook format. Pin
Leonardo.ulric4-Feb-08 22:41
Leonardo.ulric4-Feb-08 22:41 
AnswerRe: How to retrieve mail from pop server and save as outlook format. Pin
Christian Graus4-Feb-08 22:51
protectorChristian Graus4-Feb-08 22:51 
GeneralRe: How to retrieve mail from pop server and save as outlook format. Pin
Leonardo.ulric4-Feb-08 22:57
Leonardo.ulric4-Feb-08 22:57 
GeneralStep by step wizard Pin
haolan4-Feb-08 22:35
haolan4-Feb-08 22:35 
GeneralRe: Step by step wizard Pin
Christian Graus4-Feb-08 22:52
protectorChristian Graus4-Feb-08 22:52 
GeneralRe: Step by step wizard Pin
haolan4-Feb-08 22:56
haolan4-Feb-08 22:56 
GeneralRe: Step by step wizard Pin
haolan4-Feb-08 23:26
haolan4-Feb-08 23:26 
Generalexcel references Pin
arkiboys4-Feb-08 22:31
arkiboys4-Feb-08 22:31 

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.