Hi, I am currently tasked with creating a theater booking system for a project in school and have come across the following issue, when I try to write information of seats to a .dat I get the following error;

"The process cannot access the file 'C:\Users\George\Documents\Visual Studio 2010\Projects\Booking System 4\Booking System 4\datafiles\Seats.dat' because it is being used by another process."

My first thought was that I had not closed the file while the program used it elsewhere but upon further inspection it appears I have closed the file in all places after it is used. I have no clue how to solve this issue.

I have provided a zipped copy of my program in the below mediafire link to avoid filling the page with masses of code. Upon a brief inspection of the Forum rules I could not see providing a link to the code being prohibited but if this is not the case please inform me and I will take the link out and provide the code requested.

Booking System 4 = http://www.mediafire.com/?ce42qg7v29xfcux

Thanks for looking .