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

Refreshing CurrentDb.Properties in current session

Status
Not open for further replies.

zevw

MIS
Jul 3, 2001
697
0
0
US
Hi!

You can set the value of the application Title and Icon which is usually set in the Tools ====> Startup, with the following code

Code:
CurrentDb.Properties("AppTitle").Value = "My Program"
CurrentDb.Properties("AppIcon").Value = "C:\MyProg.ico"

I was wondering if these values can only be set for the next session,or can I run some code which will immediately refresh the title and icon.

i.e.
if the user decides to call their progran the company name rather than "My Program" and they want to see it on the Application Title (caption) now, how can that be done?

Thanks in advance
 
You need to do application.refresh<something> (cant remember the exact method) after each change of "AppTitle
 
Application.RefreshTitleBar

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks!

Check this thread out

thread705-1072093
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top