- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I have a program that monitors a folder with word documents for any modifications made on the files. The error -Windows Error[2] The system cannot find the file specified- comes when I run the program, open a .doc within the folder make some changes and save it. Any suggestions on how to fix this…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 Hi,
I was experimenting with basic VB.Net file read/write and encountered this problem. I don't know whether it has something to do with the File IO or the String splitting.
I am writing text to a file like so
Dim sWriter As New StreamWriter("Data.txt")
sWriter.WriteLine("FirstItem")
sWriter.WriteLine("SecondItem")
sWriter…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 We have a situation where our application needs to process a series of files and rather than perform this function synchronously, we would like to employ multi-threading to have the workload split amongst different threads.
Each item of work is:
1. Open a file for read only
2. Process the data in…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I am on MacOSX.
I am writing a multi threaded program.
One thread does logging.
The non-logging threads may crash at any time.
What conventions should I adopt in the logger / what guarantees can I have?
I would prefer a solution where even if I crash during part of a write, previous writes still…
            >>> More
 
- 
            
            as seen on Stack Overflow
            - Search for 'Stack Overflow' 
            
 I am trying to determine how suicidal this is...
I have a hosting environment where a custom ASP.Net CMS application needs to access the files in the root folder of a website even though it is in a virtual folder so it can be shared accross many sites.  I can modify the Medium trust on the server…
            >>> More