I am maintaining an Access 2000 program that I did not write. I am unable to figure out how the programmer makes the Title bar display the project name and version number. I looked in the project properties could not find any match text. I looked through the code for something like the way VB allow you to do it(i.e. lblVersion = App.version). What am I missing?
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Title bar
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Title bar
- This topic has 3 replies, 4 voices, and was last updated 23 years, 11 months ago.
Viewing 1 reply threadAuthorReplies-
WSThomasW
AskWoody LoungerMay 15, 2001 at 8:48 pm #1783404 -
WSMarkJ
AskWoody Lounger -
WScharlotte
AskWoody LoungerMay 16, 2001 at 9:12 am #1783422Here’s something based originally on on-line help a version or two back. It requires a reference to the DAO object library if you’re running Access 2000.
‘****************************************
Public Function SetAppTitle( _ ByVal varAppTitle As Variant) On Error GoTo Proc_err ' modified 11/11/98 Dim intX As Integer 'holds result of call _ to AddAppProperty ' Set the application window title to a specified ' name on opening the database and return it to ' the default on close. Select Case IsEmpty(varAppTitle) Case True intX = AddAppProperty("AppTitle", _ dbText, "Microsoft Access") Case Else If IsNull(varAppTitle) Then intX = AddAppProperty("AppTitle", _ dbText, "Microsoft Access") Else intX = AddAppProperty("AppTitle", _ dbText, varAppTitle) End If 'IsNull(varAppTitle) End Select 'IsEmpty(varAppTitle) SetAppTitle = True Proc_exit: 'call the application method to refresh 'the title bar RefreshTitleBar Exit Function Proc_err: SetAppTitle = False Resume Proc_exit End Function 'SetAppTitle( _ ByVal varAppTitle As Variant) '***************************************** Function AddAppProperty(strName As String, _ varType As Variant, _ varValue As Variant) As Integer ' Copied from on-line help ' Adds a property to the database Dim dbs As DAO.Database Dim prp As DAO.Property Const conPropNotFoundError = 3270 Set dbs = CurrentDb On Error GoTo AddProp_Err dbs.Properties(strName) = varValue AddAppProperty = True AddProp_Bye: On Error Resume Next Set prp = Nothing Set dbs = Nothing Exit Function AddProp_Err: If Err = conPropNotFoundError Then Set prp = dbs.CreateProperty(strName, _ varType, varValue) dbs.Properties.Append prp Resume Else AddAppProperty = False Resume AddProp_Bye End If End Function 'AddAppProperty(strName As String, _ varType As Variant, _ varValue As Variant) As Integer
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Netplwiz not working
by
RetiredGeek
3 hours, 46 minutes ago -
Windows 11 24H2 is broadly available
by
Alex5723
6 hours, 17 minutes ago -
Microsoft is killing Authenticator
by
Alex5723
4 hours, 52 minutes ago -
Downloads folder location
by
CWBillow
12 hours, 45 minutes ago -
Remove a User from Login screen
by
CWBillow
2 hours, 40 minutes ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
3 hours, 50 minutes ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
3 hours, 52 minutes ago -
Is it a bug or is it expected?
by
Susan Bradley
8 hours, 31 minutes ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
3 hours, 1 minute ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
1 day, 3 hours ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
16 hours, 40 minutes ago -
Multiple Partitions?
by
CWBillow
17 hours, 19 minutes ago -
World Passkey Day 2025
by
Alex5723
1 day, 10 hours ago -
Add serial device in Windows 11
by
Theodore Dawson
2 days, 1 hour ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
2 hours, 43 minutes ago -
Cached credentials is not a new bug
by
Susan Bradley
2 days, 6 hours ago -
Win11 24H4 Slow!
by
Bob Bible
2 days, 6 hours ago -
Microsoft hiking XBox prices starting today due to Trump’s tariffs
by
Alex5723
2 days, 3 hours ago -
Asus adds “movement sensor” to their Graphics cards
by
n0ads
2 days, 8 hours ago -
‘Minority Report’ coming to NYC
by
Alex5723
2 days, 5 hours ago -
Apple notifies new victims of spyware attacks across the world
by
Alex5723
2 days, 17 hours ago -
Tracking content block list GONE in Firefox 138
by
Bob99
2 days, 16 hours ago -
How do I migrate Password Managers
by
Rush2112
2 days ago -
Orb : how fast is my Internet connection
by
Alex5723
2 days, 2 hours ago -
Solid color background slows Windows 7 login
by
Alex5723
3 days, 5 hours ago -
Windows 11, version 24H2 might not download via Windows Server Updates Services
by
Alex5723
3 days, 3 hours ago -
Security fixes for Firefox
by
Susan Bradley
4 hours, 52 minutes ago -
Notice on termination of services of LG Mobile Phone Software Updates
by
Alex5723
3 days, 15 hours ago -
Update your Apple Devices Wormable Zero-Click Remote Code Execution in AirPlay..
by
Alex5723
4 days ago -
Amazon denies it had plans to be clear about consumer tariff costs
by
Alex5723
3 days, 15 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.