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.

DarkBASIC Professional Discussion / I lost my file!!!

Author
Message
Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 9th Sep 2003 03:49
oh, how i hate pro! I clicked "Save all" earlier and now my file is blank!!! WHat happened? How can i fix this???

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 9th Sep 2003 04:10
Don't panic! First off, check for .bak file in same folder. Also IDE apprantley loads sometimes with a blank document. If .dba file is bigger than 0 bytes your code should still be there. Try reloading IDE and hope for the best. If code still won't reappear even though it is in .dba file, it may be cos .dbpro file is corrupt. Delete the project file (.dbpro), reload .dba file and let it rebuild project file.

More than likely all this info is a waste of time and you've lost everything! Simply load up a backup. "what's a backup", I hear everyone shout.

If your mansion house needs haunting, just call Rentaghost!
Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 9th Sep 2003 04:18
Nothing worked. btw, i am using contest demo.

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
Mattman
23
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 9th Sep 2003 04:19 Edited at: 9th Sep 2003 04:19
there is no .bak file

Got a knack for finding secrets??? Jingot Racing --- A new brand of Racing --- Only from Nightwatch Studios
"hey, it's tomorrow" --- Hamish
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 9th Sep 2003 04:34
In IDE, I suggest you turn on the option that creates source file backups!

If your mansion house needs haunting, just call Rentaghost!
Ian T
23
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Around
Posted: 9th Sep 2003 04:51
Never happened with me. That's very unusual & odd.

--Mouse: Famous (Avatarless) Fighting Furball
Read It: http://www.angryflower.com/itsits.gif
Learn It: http://www.angryflower.com/bobsqu.gif
Toilet Freak
23
Years of Service
User Offline
Joined: 16th Dec 2002
Location: Australia
Posted: 9th Sep 2003 05:02
check your dba file

>rightclick>propertys>

untick "read only" or "archive", and see if it does anything when you save

sometimes windows can do some weird stuff

DreamersScars-Toiletfreak-
If you need a animated chara go here... It isn't that great but it'll do as a tester model thingy http://users.tpg.com.au/users/cnkyk8k2/index.html
flibX0r
23
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 9th Sep 2003 05:10
I've had this happen to me a couple of times, but everytime i have just been able to open the .bak version of the file and copy the code over. If you don't have a bak file and your funning dbpro, then i'm confused...

I can't do that.
The king of he potato people won't let me.
Current Project: "Jelly Wars : Episode 2" entry for alienware compo
indi
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Sep 2003 10:07
if you looked in your temp folder and havent started a new blank project then the bak file might be in there.

http://www.lunarpixel.com
It's already tomorrow in Australia
heartbone
23
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 9th Sep 2003 11:58 Edited at: 9th Sep 2003 12:02
That's

C:\Program Files\Dark Basic Software\Dark Basic Professional\Temp

not C:\Windows\Temp

A recent copy of your source SHOULD still be in there, even if you started a new blank project.

Don't use 'Save All'. Use the 'Save Source' after source code edits. Use the 'Save Project' after project modifications.

The more you see, the more you know.
The more you know, the more you see.
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Sep 2003 12:26
Tip for all...

Download the Winzip batch command line program. Set it up to Add new and Update changed files in your projects folder. Now, use Windows scheduler to run at appropriate intervals.

Voila! An automated backup system that you never have to look at again! I have it set up to back up at 17:20 every day, thus saving my days work.

Using Windows scheduler, you can even set up multiple tasks to back up to a different file. To get up to 2 months worth of back up data, schedule one for each day of the week, one for the last day of each week, and one for the last day of the month.

David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 9th Sep 2003 20:31
Quote: "Don't use 'Save All'. Use the 'Save Source' after source code edits. Use the 'Save Project' after project modifications."


My advice would be the ther way round actually - Save All is the best method I find.

This happens about once every 2 weeks with me.

This has happen loads with me. First make SURE there are no .bak files in your xyz.dbpro directory.

Then, and I'm repeating other advice here, check your .dba is > 0 bytes in size, if so open in notepad and and copy contents into blank file within dbp editor.

If you've made it here then you're doomed

Theres no place like 127.0.0.1
There are 10 people in this world, those who understand binary and those who don't
Bus station = where bus stops. Train station = where train stops. Workstation = ?
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 9th Sep 2003 20:51
I allways hit the save all button more that once.
I have winrar installed so every so often I right-click on the project dir and click "add to folder.rar" and it adds the dir contents to a rar file.
David T
Retired Moderator
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 9th Sep 2003 23:17
After installing DBP I have become addicted to clicking save whenever I can. Every few lines

c:/dos
c:/dos run
run dos run
Ronaldaveo
23
Years of Service
User Offline
Joined: 1st Sep 2002
Location: England
Posted: 9th Sep 2003 23:26
Quote: "I allways hit the save all button more that once."


Quote: "After installing DBP I have become addicted to clicking save whenever I can. Every few lines "


It doesnt feel right if I dont do either of those things :/

Thanks for reminding me to back up my stuff I was gonner do that today but i forgot
indi
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 9th Sep 2003 23:41
I just save the dba and verify its saved then store a copy
I dont mind recreating a new dbpro file for it later if required.

http://www.lunarpixel.com
It's already tomorrow in Australia

Login to post a reply

Server time is: 2026-07-25 02:07:01
Your offset time is: 2026-07-25 02:07:01