Hi
I am using Managed Visual Cobol for Microsoft Visual Studio. I access files using the COBOL Open, Read, Write, Rewrite and Close. I have two Forms. form1 produces FORM2. Form2 has one textbox, several labels, some of witch receive data from the program, and three buttons.
My Problem is this:
Everything was going great. Reading data. Displaying data etc. I had a problem and stopped the Debugger and corrected the problem. Ever since then, the index read has returned an empty record. The only data in the record is the key witch was moved in by the program. I also tried a process that read the same file sequentially. Same results, an empty record. I have tried recycling the computer and full power down. same Results. I even deleted the physical files and tried to recreate it with another program. The File is NOT recreated. This Program has not changed. It opens for output, reads the data from a text file and then writes to the index file. I have checked all input and output fields and everything looks correct. The physical file isn't even created. I have checked the path and this is correct.
What is causing this and what can I do!?
On a different subject with the same form. I have associated an event handler to the "Exit" button. Twice I have found that this handler is no longer associated with the button. Also the button has lost its "click" method. The code is still there. When I double click on the button it creates a new method wit a "_1" appended.
Any Ideas?




