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.

Newcomers DBPro Corner / another noobie question :)

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 23rd Sep 2005 15:38
hi,how do i save my code with my project.

everytime i save & reload my project my code is gone.
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 23rd Sep 2005 23:53
anyone going to help??
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 24th Sep 2005 05:59
I doubt it - your question is too vague. We don't know what you mean.

You haven't read the stickies either or you would have stated whether you were using DBC or DBP.

TDK_Man

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 24th Sep 2005 07:13
In Classic standard editor:
- File, then Save (saves as a .dba file)

In Classic Darkedit:
- File, then Save (saves as a .dba file)

In Pro:
- File, then Save All (it first saves the project data as a .dbpro file then it saves the actual code with a .dba file).

In Pro just using "save project" only saves the project data... not the code itself.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 24th Sep 2005 17:30
Quote: "In Pro just using "save project" only saves the project data... not the code itself."


But surely when you exit DBP, a box pops up telling you that your source code isn't saved - 'do you want to save it now'??

For him to lose it each time, he would have to specifically say no!

That's why I thought it was too silly to assume that's what he meant!

TDK_Man

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 24th Sep 2005 22:03 Edited at: 24th Sep 2005 22:06
It's real confusing using the IDE that came with Pro for that very reason. When you use "save all" it starts with the project data then the code. When you try to exit before saving if you say yes to save it starts with the code then saves the project data.

Even looking at the File menu is confusing too:

New Project
Open Project
Open Source
Reopen
Save Project
Save Project as
Save Source
Save Source as
Save All
Close
Close All
Print
Exit

When I first saw the above list my first words were "Aw, hell... which one do I use?" It was only through experimentation that taught me to use "Save All" only.

The programmer of that IDE should of just assumed that when a person wants to save... they want to save both the project data and the code at the same time. To me it's easier to use 3rd party IDEs like BlueIDE... which has one "save" and it acts like "save all" in the standard Pro IDE.
tpfkat
19
Years of Service
User Offline
Joined: 1st Sep 2005
Location: lancashire/uk
Posted: 24th Sep 2005 22:07
you have to open or start a new project..name it
or save project as ..???????
and save source code in the same folder save source code as...?????
Louiz ofRohr
19
Years of Service
User Offline
Joined: 11th Nov 2004
Location:
Posted: 24th Sep 2005 22:23
just open the DBP project file with notepad and change
the main source file manually

The worst foe lies within the self..

Login to post a reply

Server time is: 2024-09-24 05:31:17
Your offset time is: 2024-09-24 05:31:17