Re: Icon for an HTA
- From: "BD" <JustMe@xxxxxxxxxx>
- Date: Wed, 31 Oct 2007 10:12:16 -0700
"Paul Randall" <paulr901@xxxxxxxxxxxx> wrote in message
news:%23hLWI6zGIHA.2268@xxxxxxxxxxxxxxxxxxxxxxx
I can see that happening with a shortcut but AFAIK that icon is embedded in
"Gottfried Mayer" <ngs@xxxxxxxxxxxxxxxxx> wrote in message
news:eivMBszGIHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
Paul Randall wrote:
"ekkehard.horner" <ekkehard.horner@xxxxxxxx> wrote in message
news:4727940c$0$16665$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Bart Perrier schrieb:
Is there any way to, through a script or other other automation, givehttp://msdn2.microsoft.com/en-us/library/ms536482.aspx
an HTA application an icon other than the default?
I am putting an HTA on the desktop of all our workstations and I know
the implementation team is going to ask for a pretty icon.
Thanks for your help.
Bart Perrier
Hi ekkehard,
I decided to try adding an icon to the sample HTA downloaded with the
'show me' button in your link, with the statement:
ICON="C:\ruby\ruby.ico"
This icon is 32 by 32 is displayed properly in a WXP search window. It
does not show up as the icon for the HTA in an Explorer window. I get
the same icon I get for all other HTAS. I'm running WXP SP2. When/how
is this specified icon supposed to show up?
thanks,
-Paul Randall
Unfortunately, this Icon only sets the Application Icon (top left corner
of the window) when the hta is executed.
You will have to place a link to your .hta on the desktop for the fancy
Icon to show up.
HTH
Gottfried
Thanks for the response, Gottfried.
The icon does show up in the top left corner when the HTA window is open,
but when the HTA is copied to the desktop or a shortcut to it is created
on the desktop, the icon remains the generic HTA icon.
I will have to try this the next time I reimage from a new install of XP.
-Paul Randall
the HTA and it shouldn't happen when copying the file to the desktop.
Perhaps a corrupt icon cache?
BD
.
- References:
- Icon for an HTA
- From: Bart Perrier
- Re: Icon for an HTA
- From: ekkehard.horner
- Re: Icon for an HTA
- From: Paul Randall
- Re: Icon for an HTA
- From: Gottfried Mayer
- Re: Icon for an HTA
- From: Paul Randall
- Icon for an HTA
- Prev by Date: Re: Run DOS program
- Next by Date: Drive enumeration
- Previous by thread: Re: Icon for an HTA
- Next by thread: Capturing hyperlinks
- Index(es):