T
Tony Girgenti
Hello.
I developed a web consuming windows application/form program with VS.NET
2003, VB, .Net Framework 1.1.4322, ASP.NET 1.1.4322, IIS 5.1.
Using this code to open a simple text file. If i get an error in my program
after the file has been opened once, it gives me a message saying
"System.IO.IOException: File already open."
FileOpen(1, "C:\xmltrips.txt", OpenMode.Output, OpenAccess.Write)
WriteLine(1, txtFilStr)
When i try to delete it, it says "It is being used by another person or
program".
If it's being opened output, then why won't it open again and again ?
I have a FileClose(1) in the catch statement.
Any help would be gratefully appreciated.
Thanks,
Tony
I developed a web consuming windows application/form program with VS.NET
2003, VB, .Net Framework 1.1.4322, ASP.NET 1.1.4322, IIS 5.1.
Using this code to open a simple text file. If i get an error in my program
after the file has been opened once, it gives me a message saying
"System.IO.IOException: File already open."
FileOpen(1, "C:\xmltrips.txt", OpenMode.Output, OpenAccess.Write)
WriteLine(1, txtFilStr)
When i try to delete it, it says "It is being used by another person or
program".
If it's being opened output, then why won't it open again and again ?
I have a FileClose(1) in the catch statement.
Any help would be gratefully appreciated.
Thanks,
Tony