If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Change application name via VB possible ?
Hi everyone,
Is it possible to change the application name of a MDB in runtime via VB ? I know how to set the application name static in the startup settings. The reason I want to do this, is that I like to add the Users name next to it when the application is going through the startup function. Thanks in advance, Rob. |
#2
|
|||
|
|||
Change application name via VB possible ?
If you've already set the name (through the Tools | Startup option), you can
change it as: CurrentDb().Properties("AppTitle") = "New title" Application.RefreshTitleBar If you haven't already set the name, you'll have to create the AppTitle property first, using the CreateProperty method. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Rob Hofkens" wrote in message ... Hi everyone, Is it possible to change the application name of a MDB in runtime via VB ? I know how to set the application name static in the startup settings. The reason I want to do this, is that I like to add the Users name next to it when the application is going through the startup function. Thanks in advance, Rob. |
#3
|
|||
|
|||
Change application name via VB possible ?
CurrentDb.Properties("AppTitle") = "Whatever you like"
-- HTH Van T. Dinh MVP (Access) "Rob Hofkens" wrote in message ... Hi everyone, Is it possible to change the application name of a MDB in runtime via VB ? I know how to set the application name static in the startup settings. The reason I want to do this, is that I like to add the Users name next to it when the application is going through the startup function. Thanks in advance, Rob. |
#4
|
|||
|
|||
Change application name via VB possible ?
Thank you
Rob. "Douglas J. Steele" schreef in bericht ... If you've already set the name (through the Tools | Startup option), you can change it as: CurrentDb().Properties("AppTitle") = "New title" Application.RefreshTitleBar If you haven't already set the name, you'll have to create the AppTitle property first, using the CreateProperty method. -- Doug Steele, Microsoft Access MVP http://I.Am/DougSteele (no e-mails, please!) "Rob Hofkens" wrote in message ... Hi everyone, Is it possible to change the application name of a MDB in runtime via VB ? I know how to set the application name static in the startup settings. The reason I want to do this, is that I like to add the Users name next to it when the application is going through the startup function. Thanks in advance, Rob. |
#5
|
|||
|
|||
Change application name via VB possible ?
Thank you
Rob. "Van T. Dinh" schreef in bericht ... CurrentDb.Properties("AppTitle") = "Whatever you like" -- HTH Van T. Dinh MVP (Access) "Rob Hofkens" wrote in message ... Hi everyone, Is it possible to change the application name of a MDB in runtime via VB ? I know how to set the application name static in the startup settings. The reason I want to do this, is that I like to add the Users name next to it when the application is going through the startup function. Thanks in advance, Rob. |
Thread Tools | |
Display Modes | |
|
|