Roza
asked on
Automatic version correct (increasing build number)
Let's say that i have initial screen with version number and build number in it (two labels). What I would like from Delphi is to increase build number every time i recompile project. Is that possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's cool, but what about any other variables.
Let's say my username for LAN. Can it be stored somwhere in program during rebuild?
Let's say my username for LAN. Can it be stored somwhere in program during rebuild?
ASKER
That's cool, but what about any other variables.
Let's say my username for LAN. Can it be stored somwhere in program during rebuild?
Let's say my username for LAN. Can it be stored somwhere in program during rebuild?
What is going on here? First all comments disappear. Then I post another answer and now it reappears again?
EE is all screwed up today.
Stefaan,
You just repeated what I had already stated in my proposed answer. Please read all existing comments to a question before posting your own. It's not nice ot step on someone else's toes.
Roza,
You can store anything you want in the version information screen provided by Delphi.
Just follow the steps I outlined and you'll get in the Version Info screen. There's a grid where you can set all information you want. If you scroll to the end of the grid, you can add your own custom variables, along with their values.
Yours,
Alex
EE is all screwed up today.
Stefaan,
You just repeated what I had already stated in my proposed answer. Please read all existing comments to a question before posting your own. It's not nice ot step on someone else's toes.
Roza,
You can store anything you want in the version information screen provided by Delphi.
Just follow the steps I outlined and you'll get in the Version Info screen. There's a grid where you can set all information you want. If you scroll to the end of the grid, you can add your own custom variables, along with their values.
Yours,
Alex
Hi Alex,
When I commented your comment wasn't there yet. I guess we were both keying in our comments at the same time. It was never my intention to repeat someone elses comment.
When I commented your comment wasn't there yet. I guess we were both keying in our comments at the same time. It was never my intention to repeat someone elses comment.
ASKER
Adjusted points from 100 to 200
ASKER
Hi!
Something strange is happening with ee.
Looks like I posted three identical questions and my comments are dissapearing.
Hi Alex,
Ok. I can store variable into version info screen, but how to correct this everytime I rebuild.
Ex. I make Key named Date. Now when I rebuild my project I want to assign value datetostr(date).
Is something like that possible?
Something strange is happening with ee.
Looks like I posted three identical questions and my comments are dissapearing.
Hi Alex,
Ok. I can store variable into version info screen, but how to correct this everytime I rebuild.
Ex. I make Key named Date. Now when I rebuild my project I want to assign value datetostr(date).
Is something like that possible?
listening ...
ASKER
Hi!
Something strange is happening with ee.
Looks like I posted three identical questions and my comments are dissapearing.
Hi Alex,
Ok. I can store variable into version info screen, but how to correct this everytime I rebuild.
Ex. I make Key named Date. Now when I rebuild my project I want to assign value datetostr(date).
Is something like that possible?
Something strange is happening with ee.
Looks like I posted three identical questions and my comments are dissapearing.
Hi Alex,
Ok. I can store variable into version info screen, but how to correct this everytime I rebuild.
Ex. I make Key named Date. Now when I rebuild my project I want to assign value datetostr(date).
Is something like that possible?
>Is something like that possible?
Unfortunately not, Roza.
I know what you mean - having the "BuildDate" or something like that in the version info, automatically managed by Delphi would be a rael nice feature. Too bad Delphi cannot do that today? Maybe that's possible with Delphi 6!
Yours,
Alex
Unfortunately not, Roza.
I know what you mean - having the "BuildDate" or something like that in the version info, automatically managed by Delphi would be a rael nice feature. Too bad Delphi cannot do that today? Maybe that's possible with Delphi 6!
Yours,
Alex
ASKER
Alex thanx for your answer. Guess I just wanted too much from my computer :)
You can do that using the Project options in Delphi.
Open your Project, selection the Options item from the Project Menu. This will open up a screen with some tabs. Pick the version info tab, and there check the 'auto increment build number' option.