Hi all
As part of my Computing coursework I need to create an application as per a scenario. The full thing is explained in the pdf below:
Training Log.pdf
Due to my work being deleted, I was forced to start again a few weeks back. I decided to approach the scenario a different way. As opposed to creating a database I would use file storage to create and edit the records. My idea has been to create the records using the ''register'' form, but the problem has been that during the debugging phase, instead of creating new records each time it replaces the file each time. E.g, the file in question is called ''runner1'' and when I run the app, I input details and click ''send to file''. If I then open the file under Visual Basic 2008 > Debug > bin > runner1, it opens up a notepad document with the information I entered. However, if I were to debug again, then if I were to enter completely different data, it would not create a new file. Rather, ''runner1'' would simply have the previous information replaced with the new load. I also need to make it so my login system can use the ''ID'' and ''password'' stored in the files can be used for my login screen.
Here are two screenshots of the code I used to create this form of my application:
![Name: structure.PNG
Views: 24
Size: 12.0 KB]()
Officially the complete coursework needs to be in by May 15th but my teachers wish to collect it all in by Easter, so I'm really under pressure to get this complete!
Can someone please tell me what I'm doing wrong? I'd really appreciate it, and I'm sorry if this turns out to be trivially easy. I'm a noob and an idiot but I suppose everyone was a beginner once.
As part of my Computing coursework I need to create an application as per a scenario. The full thing is explained in the pdf below:
Training Log.pdf
Due to my work being deleted, I was forced to start again a few weeks back. I decided to approach the scenario a different way. As opposed to creating a database I would use file storage to create and edit the records. My idea has been to create the records using the ''register'' form, but the problem has been that during the debugging phase, instead of creating new records each time it replaces the file each time. E.g, the file in question is called ''runner1'' and when I run the app, I input details and click ''send to file''. If I then open the file under Visual Basic 2008 > Debug > bin > runner1, it opens up a notepad document with the information I entered. However, if I were to debug again, then if I were to enter completely different data, it would not create a new file. Rather, ''runner1'' would simply have the previous information replaced with the new load. I also need to make it so my login system can use the ''ID'' and ''password'' stored in the files can be used for my login screen.
Here are two screenshots of the code I used to create this form of my application:
Officially the complete coursework needs to be in by May 15th but my teachers wish to collect it all in by Easter, so I'm really under pressure to get this complete!
Can someone please tell me what I'm doing wrong? I'd really appreciate it, and I'm sorry if this turns out to be trivially easy. I'm a noob and an idiot but I suppose everyone was a beginner once.