Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 21st Jun 2003 08:03
This morning I spent 2 hours writing code and then I saved it (or thought I had) using "Save project".

Needless to say bugger all was actually saved and so I've just discovered that I've lost 2 hours of work.

AAARRRGGGHHH!!

Thats it. I'm outta here to go and buy the latest Harry Potter.
flibX0r
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 21st Jun 2003 09:17 Edited at: 21st Jun 2003 09:18
I've had the same problem

i think its an error in the IDE. There is however a way to get you data back. In the directory where you were working where it would normally save the files to thre are some .bak files. These are just text files of the source code as you were working. Its where DBPro stores the code whilst you are working. Just delete the empty source code files and rename the .bak files to .dba and all is good.

I would like to know if it will be fixed though

"But we couldn't do that Mr Flibble," questioned Rimmer. "Who'd clean up the mess?"
Twin P4 Xeon 2.0 Ghz, GeForce Quadro4 XGL 128MB, 1Gb DDR RAM, Twin 19" Flat Screens
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 21st Jun 2003 12:39 Edited at: 21st Jun 2003 12:46
Oh to remember those wonderful days...
Power blackouts and stuffying stuffer stuff!!!
"save" "save" "save" and "save" often!
and make sure it actually saved properly!


Oh ya!


I will always save the dba -----And the .dbpro twice---
because of this rumour I've heard of it not saving properly...

the ide is definately semi screwed, but it will work if yee heed my inference here!!!
hehehe
haggisman
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 21st Jun 2003 12:50
There is nothing wrong with saving. Pressing the save project button will save the project. The save source button will save the source. The save all button will save everything. Only using the save project button will not save any changes to the source code full stop.

project: light/obscurance mapper (85% done)
Mentor
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 21st Jun 2003 13:14
oh yes! been there, done that save all is the way to go, but WHY would anyone WANT to save the project data seperate from the program?, seems a useless option too me, or at least have save all at the top of the list.

Mentor.

Terabyte
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 21st Jun 2003 13:18
same happened to me once.
Anyone thik we shoud have the option of an auto save

Reset
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 21st Jun 2003 13:27
project data; so you can save curent data from the user
Philip
23
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 21st Jun 2003 13:38
Well, I went back and re-wrote the code and so I've cheered up enormously now.

In fact, the program is finished. I am about to post it to this forum in case anybody would like it.

Richard Davey
Retired Moderator
24
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 21st Jun 2003 16:11
"Anyone thik we shoud have the option of an auto save"

Technically every time you run the program (and it compiles without error) it auto-saves the source to a back-up file anyway.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
pinkvenom
23
Years of Service
User Offline
Joined: 14th Jun 2003
Location:
Posted: 21st Jun 2003 17:17
I think there should be an aoto save option it would be a great hep to all us programmers out there and could even save time.

pinkvenom
23
Years of Service
User Offline
Joined: 14th Jun 2003
Location:
Posted: 21st Jun 2003 17:17
I think there should be an auto save option it would be a great hep to all us programmers out there and could even save time.

Terabyte
23
Years of Service
User Offline
Joined: 28th Dec 2002
Location: UK
Posted: 21st Jun 2003 17:33 Edited at: 21st Jun 2003 17:34
so where is the backup kept

i just said that silly [img] [/img]

Reset
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Jun 2003 18:47
Thats not right Rich. The backup file is only made when you save the source (into a .bak file Frobscottle)

When you compile, the source from all your source files is combined into a single file for the compiler to use, but this is deleted after use. This is recoverable if you use something like 'Norton protected recycle bin' but not otherwise.
Shadow
23
Years of Service
User Offline
Joined: 17th Oct 2002
Location: In the shadows
Posted: 21st Jun 2003 19:47
Just get into the habit of saving. I'm actually addicted to it. :-s
Guyon
23
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 21st Jun 2003 20:08
I personally do not like auto-save. I have opened up a program may time made changes and saved it as a totally different prog. If auto save one on ti would have messed up my original program.

I thought Save Project would have saved my work. That explains where a few missing files went. LOL
MrTAToad
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 21st Jun 2003 20:15
No, you've got to do a Save All
Sometimes when you open a source file it will be blank - so dont save then either...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 21st Jun 2003 20:15
Quote: " think there should be an aoto save option it would be a great hep to all us programmers out there "


and autosave option perhaps, definately not as default.
although the current IDE is bug ridden (the more and more complex your program becomes the more you find it seems) ... having an autosave would actually be a bane for most programmers.

I generally compile my code 1 every few mins, and i rely heavily on the fact that i can save at a known working point and also have the temporary files for when you save .bak and when you compile .tmp
this way i have several saves of the same source, yet if i make a mistake i can just close without saving and know that when i reopen it'll be a working version.
if it was automatically saving like a Word Document does then there is a big chance there will be alot of unfinished thoughts within the code meaning i no longer have a working version or a version to bug test - and resaving a project of more than a few files is an annoying task.

I pride myself that i don't kill...
well not without a good reason
haXor
23
Years of Service
User Offline
Joined: 12th May 2003
Location: United States
Posted: 21st Jun 2003 20:25
I dont think auto save is a good idea, cuz like somtimes i either wont be thinkin about it or dont know what im doin and spend an hour changing stuff around to add a new function or somthin and that changes a lot of code and then its saved like that and u have to spend time changing everything back, which in turn can cause more problems, so u have to edit them, but then they cause problems.....etc....

Sup Kids
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 21st Jun 2003 21:50
It sounds like I must be one of the very few here that use a source control system.

I regularly hit 'save all' knowing that I can easily get back to the original source files in seconds.
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 21st Jun 2003 21:50
Quote: "There is nothing wrong with saving. Pressing the save project button will save the project. The save source button will save the source. The save all button will save everything. Only using the save project button will not save any changes to the source code full stop."


I use Save All all the time.

The IDE still has frequently erased by source files (not just a faulty opening - in notepad they are blank). Luckily I found the .bak tip early on. I've reported the bug but I don't know what's being done about it.

You are the th person to view this signature.
Programmers don't die, they just Gosub without return....
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 22nd Jun 2003 01:03
I think it was fixed in the later versions of the ide. It hasen't happened to me for a long time, either because it is fixed or I use save all a lot.

They don't appear to want to admit that this was ever a problem.

There are ways of autosaving that won't cause you trouble if you want to go back to how the code was when it was loaded. Doesn't the ms office autosave work like that? It doesn't autosave to the actuall file but to another one.
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 22nd Jun 2003 03:42
Ian last time i checked DBPIDE doesn't have Source Control hehee
i use it all the time but the only IDE i know with it is MSIDE, if GuyS implimented a system like that i'd be a nice welcome ... but considering the current state of the saving and memory management i'm not going to hold my breath for such a feature.

I pride myself that i don't kill...
well not without a good reason
andrew11
23
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: United States
Posted: 22nd Jun 2003 03:45
I never do save all in the file menu. I press Shift+Control+S. After a while, it just becomes a habit. I save about 2 or 3 times a minute (I'm very paranoid).

"All programmers are playwrites and all computers are lousy actors" -Anon
Click Here!!!
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 22nd Jun 2003 04:06
Raven, I use TortoiseCVS. It's a version of CVS that integrates into explorer. Just right-click, and select commit or update. So easy, even I can do it
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 22nd Jun 2003 04:30
ya know ... i've been meaning to ask this, but what exactly is CVS?
i have a feeling i've just made an idiot out of myself asking it cept i've seen it online all the time CVS databases but i dunno howto get them offline or use them.

i have had a feeling it had something to do with source control for a while, but i've never used anything other than SafeSource within my projects so i dunno what it exports to or even howto really use it besides the VC menus for it (knowing me i'm only use a faction of what something is capable of lol)

i have tired to find out online before, but dunno about you cept everytime i look for someone online i end up with a bunch of useless sites which only include the word i'm looking for but no relivant information

I pride myself that i don't kill...
well not without a good reason
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK

Login to post a reply

Server time is: 2026-07-11 19:44:28
Your offset time is: 2026-07-11 19:44:28