Embedded Application Icon

  • Thread starter Thread starter Rod Makin
  • Start date Start date
R

Rod Makin

Hello Everyone:)

I want to change the application icon that appears when my database backend
starts up. I know that this can be done from the startup options,
unfortunately my application is used locally and across networks over the
world (how scary is that!!). What seems to happen is that when you link the
application icon to a specific location, it takes some time to realise that
the location is not valid, hence a slow startup and an inconsistent icon. Is
there a way to embed the icon so that it is local to the mdb?

Regards



Rod
 
Rod,

No, you can't embed it. You'll have to distribute it with the database.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 
Cheers Graham,

I thought as much:( Unfortunately the way the application works, there
is a "template directory" with a blank master database & backend database.
People copy the master database (and client when multiuser) populate with
data from Word the off they go with their own database. The users arent
really to interested in the icon to be honest, they just take the master mdb
populate it and off they go. It was just a nice finishing touch to
distinguish it from other databases.

Ho Hum...

Thanks anyway



Rod
 
What you might feel like doing, depending on your level of expertise (and
inclination), is to take the code at
http://support.microsoft.com/?kbid=103257 and modify it to build a module to
store the icon in a database table. You could then check for the existance
of the icon every time the database is launched, and if not found, unpack it
from the table to a specific folder, and then set the AppIcon accordingly at
runtime.

I use this very method with almost every database I build. Unfortunately,
I'm interstate at present, and don't have *that* code with me, so I can't
give it to you.

Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
 
Back
Top