Change MS Access application title and icon using VBA

By | December 15, 2009 | 11 Comments
Category: MS Access Tags: , ,

Here is a code to change MS Access application title and icon using VBA. This code also sets the application icon as form and report default icon.

Dim db As Database
Set db = CurrentDb
db.Properties("AppIcon").Value = CurrentProject.Path & "\Bee.ico"
db.Properties("AppTitle").Value = msgMainTitle
db.Properties("UseAppIconForFrmRpt").Value = True
Application.RefreshTitleBar

Click here for list of all properties exposed by CurrentDB.Properties().


About Vishal Monpara

Vishal Monpara is a full stack Solution Developer/Architect with 13 years of experience primarily using Microsoft stack. He is currently working in Retail industry and moving 1's and 0's from geographically dispersed hard disks to geographically dispersed user leveraging geographically dispersed team members.

11 thoughts on “Change MS Access application title and icon using VBA

  1. Grailly

    LoadIconA
    Hicon=LoadImageA(…..
    SendMessageA Hwnd,uMsg WM_SETICON,wParam &0,lPaearm Byval Hicon


Leave a Reply

Your email address will not be published. Required fields are marked *