|
Dear forum, How do I create a file in .Net, and then 'release' it so that another application can use it?
I am creating an application that involves programmatically creating a directory structure containing a number of text files. Once the files are created, I programmatically use the DTS (Data Transformation Services) object model to fireup DTS packages which insert data into the files. But the DTS packages are getting an error - the file is in use by another application...which is presumably the .Net application that is creating the files.
I am really stuck on this one, a bit of a novice with System.IO. Any help will be much appreciated.
|