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 / 3 Extensions? .dba , .dbpro , and .bak???

Author
Message
Dexter_
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location:
Posted: 16th Jan 2007 06:32
To be honest, I was always confused at this

What's the point of the .dba file if it doesn't have any text??

The .bak file is just a backup, right?

Also, there's the .exe, which is the finished product?

lol, can someone help me please?
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 16th Jan 2007 06:53
.dba - the actual source code to your project

.dbpro - a file with data that helps the editor manage the data that would not normally be in your code. eg the paths to the executable, notes about your game, etc.etc.

.exe an executable file that is your source code compiled ready for anyone to use.

.bak a copy of your .dba file in case you make a mistake, but only from last compile.

if you cant see any text when double clicking a .dba file open that file by right clicking it and opening it with notepad, you can see that there will be data in it unless the dba file is like 0 bytes in size.

your mime type associations within your computer need to be adjusted.
right mouse click a .dbpro file and associate it with the dark basic editor.

Firewood
19
Years of Service
User Offline
Joined: 24th Jul 2005
Location:
Posted: 22nd Jan 2007 22:58
To indi and Dexter_

If you write your program and you store your project. Everything is written in the dba and or dbpro files.

Everything wil goes fine als long as you working in your project and not compiling.
If you opening you project DBPRO file. Only the main file wil be loaded. All other parts that are included in you program is not. It is remembered bij the DBPRO file.
Nothing wrong so fare.
But on the moment you compiling your program and a error come up in one of the included file. The compiler try to open the fie by making a new child form in de IDE. And then telling you on line that and this there is a error. But the compiler is not loading the real DBA file. So you wil see only a empty field.

Stil there is nothing wrong here. BUT DO NOT SAVE you project. If you do. The empty file wil be written over the file already on the disk. After that your DBA file is empty.

Is you close your project and DO NOT SAVE it you can reload it. And then reload the DBA with the error. You will see that you file is not empty.

Never say a question is stupid. Questions not ask are stupid.

Login to post a reply

Server time is: 2024-11-26 21:33:16
Your offset time is: 2024-11-26 21:33:16