A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Removing "Microsft Access" from the title bar in Access



 
 
Thread Tools Display Modes
  #1  
Old October 18th, 2008, 10:50 PM posted to microsoft.public.access.tablesdbdesign
Mark
external usenet poster
 
Posts: 1,534
Default Removing "Microsft Access" from the title bar in Access

Hi All,

Is there a way to remove the "Microsoft Access" title on the database? I'm
not talking about a form, but the program itself when open?

Thanks,
Mark
  #2  
Old October 18th, 2008, 11:31 PM posted to microsoft.public.access.tablesdbdesign
Rick Brandt
external usenet poster
 
Posts: 4,354
Default Removing "Microsft Access" from the title bar in Access

Mark wrote:
Hi All,

Is there a way to remove the "Microsoft Access" title on the
database? I'm not talking about a form, but the program itself when
open?

Thanks,
Mark


In Tools Startup you can set your own application title.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


  #3  
Old October 19th, 2008, 01:44 AM posted to microsoft.public.access.tablesdbdesign
fredg
external usenet poster
 
Posts: 4,386
Default Removing "Microsft Access" from the title bar in Access

On Sat, 18 Oct 2008 14:50:01 -0700, Mark wrote:

Hi All,

Is there a way to remove the "Microsoft Access" title on the database? I'm
not talking about a form, but the program itself when open?

Thanks,
Mark


You can change it to a single space.
Adapted from VBA help:

Sub ChangeTitle()
Dim dbs As DAO.Database
Dim obj As Object
Const conPropNotFoundError = 3270

On Error GoTo ErrorHandler
' Return Database object variable pointing to
' the current database.
Set dbs = CurrentDb
' Change title bar.
dbs.Properties!AppTitle = " "
' Update title bar on screen.
Application.RefreshTitleBar
Exit Sub

ErrorHandler:
If Err.Number = conPropNotFoundError Then
Set obj = dbs.CreateProperty("AppTitle", dbText, " ")
dbs.Properties.Append obj
Else
MsgBox "Error: " & Err.Number & vbCrLf & Err.Description
End If
Resume Next

End Sub

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.