Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you get the version of your application into the form caption? 1

Status
Not open for further replies.

GComyn

Programmer
Jul 24, 2001
177
US
I'm writing an application that will link to an Access database, get a list of databases, and then compact each of the databases (it backs them up before and after, just to make sure that the database does get compacted.)

I thought I would have a little fun, and put the version of the application (since I keep tweeking it) into the caption of the form, so I can see how many times it has been tweeked.

However, I can't seem to be able to get it, and after I spent about an hour searching on here and not finding anything, I thought I'd go ahead and ask.

btw, the application is complete (except for more extreme testing), but I do have a few tweeks that I want to do to it... like having it not be dependant on a database for the list.

If anyone can help with the version thing, I'd appreciate it.

gcomyn
 
Me.Caption = "My caption - " & App.Major & "." & App.Minor & " rev " & App.Revision

-George

Strong and bitter words indicate a weak cause. - Fortune cookie wisdom
 
thanks!!!

I'm an access programmer... and just started doing vb executables... so I kept using 'application', instead of 'app'.... *sigh*

I remembered just after I posted here, and before I read your reply.... and found the .revision... *sigh*

I probably would have found the major and minor, but your help has saved me time....

Thanks!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top