Re: Icon for an HTA
- From: "Paul Randall" <paulr901@xxxxxxxxxxxx>
- Date: Tue, 30 Oct 2007 15:49:22 -0600
"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
.
- Follow-Ups:
- Re: Icon for an HTA
- From: BD
- Re: Icon for an HTA
- 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
- Icon for an HTA
- Prev by Date: Re: Capturing hyperlinks
- Next by Date: Re: Run DOS program
- Previous by thread: Re: Icon for an HTA
- Next by thread: Re: Icon for an HTA
- Index(es):
Loading