Startup Application icon

  • Thread starter Thread starter JimP
  • Start date Start date
J

JimP

Is it possible to embed the startup application icon in an mdb as opposed to
specifying a path?

This is a multi user environment and it will be difficult to deploy an icon
file and know the location of it.
 
Hi,

...sounds easy enough, but I'm not sure what you mean by "deploy icon to the
same path as mde".

The mdb will be distributed to users, potentially many users at many
locations, with no knowledge of MS-Access
1. Will I need to distribute the icon file separately?
2. Will they need instructions on where to locate the icon file?

Thanks,
Jim
 
Hi,
1. if you just give users mde - then zip ico file with mde into same zip
else - just include ico in distribution package

2. just add code to startup proc - change path to appicon and
refreshtitlebar:

CurrentDb.Properties("AppIcon") = CurrentDBDir() & "\MyAppIcon.ico"
Application.RefreshTitleBar

Function CurrentDBDir() As String
Dim strDBPath As String
Dim strDBFile As String
strDBPath = CurrentDb.Name
strDBFile = Dir(strDBPath)
CurrentDBDir = Left$(strDBPath, Len(strDBPath) - Len(strDBFile))
End Function


--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
 
I can't control distribution (mdb vs mde) or packaging - the only thing I
know is that the mdb will reside in a user's temp directory and the icon
file can be sent as a separate file (hence my other post).

Thanks for the help.
 
Hope I never clean his hard drive temp files up.
JimP said:
I can't control distribution (mdb vs mde) or packaging - the only thing I
know is that the mdb will reside in a user's temp directory and the icon
file can be sent as a separate file (hence my other post).

Thanks for the help.
 
Back
Top