Startup Icon

J

Junior

The Startup dialog box allows browsing and setting the location for an icon
Is there a way to set the ico path programatically - say when the
application opens?
Since users install the mdb in different locations
 
A

Allen Browne

Try:
CurrentDb.Properties("AppIcon") = "C:\MyPath\MyFile.ico"
Application.RefreshTitleBar

If the icon has never been set, you will need to CreateProperty() first.
 
Top