Is it just me or what?

This makes about the 3rd or 4th time that I have written a program tested every single option and it worked. Saved the file, closed it. Came back in a few hours and ran the progam again, this time it did not work. WTF. I have written a COBOL program tested it all night, saved it to disk brought it to college, got up in front of class and it did not work, had to go and fix it.

Had a VB6 program that did the same thing, took me 10 hours to fix it(it was a big program).

Then tonight it did it again. Finished the program, my mom saw that it worked completely. Tried it again a few hours later and suddenly it doesn't work. It has to be complete by Monday afternoon and I need to test it.
[723 byte] By [james3302] at [2007-11-18 16:19:08]
# 1 Re: Is it just me or what?
Originally posted by james3302
This makes about the 3rd or 4th time that I have written a program tested every single option and it worked. Saved the file, closed it. Came back in a few hours and ran the progam again, this time it did not work. WTF. I have written a COBOL program tested it all night, saved it to disk brought it to college, got up in front of class and it did not work, had to go and fix it.

Had a VB6 program that did the same thing, took me 10 hours to fix it(it was a big program).

Then tonight it did it again. Finished the program, my mom saw that it worked completely. Tried it again a few hours later and suddenly it doesn't work. It has to be complete by Monday afternoon and I need to test it.
Oh my, ....that is really a pain !
And I am sure it is just you and nothing else...
That is really a difficult problem to solve.
mandya at 2007-11-9 12:49:12 >
# 2 Re: Is it just me or what?
it seems to revert itself. I mean that I save the program even when I am just getting up to stretch and walk around. And after I get it working I save it. It then reverts itself back to the last save point, the point where it doesn't work. I will just have to click save like 5 times after I get the program working. Maybe save it in more than one folder, make backups. It is not my computer, because it done it when I had Windows 98, and now again when I have Windows 2000.
james3302 at 2007-11-9 12:50:08 >
# 3 Re: Is it just me or what?
maybe its your compiler
Deniz at 2007-11-9 12:51:08 >
# 4 Re: Is it just me or what?
What development system are you using? Are you saving the text before each compile?

TDM
TDM at 2007-11-9 12:52:14 >
# 5 Re: Is it just me or what?
Well with my COBOL program it was with Microfocus and I did get it to work at home, then not work at college, of course it was a different computer, but both were running Windows 98. For the VB6 programs that have done this to me, it is with Visual Studio6. I fixed the program again tonight, and saved it in three places. hope it works in the morning because I have to email it in to a lady for a job, got an interview Tuesday in Atlanta. My first programming job yea
james3302 at 2007-11-9 12:53:13 >
# 6 Re: Is it just me or what?
running any antivirus software while your doing that? You can run into problems saving files in VS when an AV is running.
Mick at 2007-11-9 12:54:18 >
# 7 Re: Is it just me or what?
I don't even have a antivirus program.
james3302 at 2007-11-9 12:55:11 >
# 8 Re: Is it just me or what?
Originally posted by james3302
It is not my computer, because it done it when I had Windows 98, and now again when I have Windows 2000. Okay - but that doesn't mean it's not your computer. Are you certain you haven't just got a faulty (or corrupted) hard drive?? It seems very unlikely that Cobol, Basic and C++ compilers would all display the same fault. This has to be something to do with the medium that your programs are being saved on.

Do a system check on your hard drive and see what happens. Also, give each new version a version number that you can display somehow - so you can check (when it reverts to a previous state) whether it's really reverting or whether you're just somehow starting an older version.

I had a problem once where I changed the target directory for my program's executable but I forgot to change the shortcut on my desktop. For a short while afterwards, I kept making changes to the program, then re-running it but of course, the old version kept starting up. It's easily done and had me confused for a quite some time.
John E at 2007-11-9 12:56:15 >
# 9 Re: Is it just me or what?
I have a newer computer since I had that problem with COBOL. My HD seems to be fine. I will start saving it as revisions from now on. I did finally get that program done and emailed in. If I did it well enough and I ace the interview tomorrow then I will have my first programming job.

The program had to be a file listing utility like windows explorer. It had to cut,copy,delete files and folders, as well as create new folders. Drag and drop was not required. Man I hope I get that job, so my $24,000 in student loans are for nothing.
james3302 at 2007-11-9 12:57:13 >