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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top