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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieving App.Title

Status
Not open for further replies.

Hackster

Programmer
Mar 28, 2001
173
US
One the Make tab of the VB Projects property box, there is a place for the program to put the program title. From within the program itself, it is possible to get at this by using App.Title. However, can one compiled VB program obtain another compiled VB programs App.Title, and store it in a string?
 

Yes, Look in the setup project under common files of your installation. This setup project has a boatload of api calls that will get you version stamps and with a little change here and there you will be able to retrieve titles, copyright and much more.

Good Luck!!!
 
I went through the five .BAS files created by the P&D Wizard (basCommon, basLogging, basSetup1, basSetupRes and modShell), but I can find nothing that will give me the App.Title of a compiled VB .Exe file. What am I missing?
 

API's to look for in project

GetFileVersionInfoSize
GetFileVersionInfo

Hints:

basCommon
Public Function GetFileDescription
Public Function GetFileVerStruct

Then look at VB's Help file to look these up

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top