In IE 5+, you can use something called an HTA (HTML Application) that
allows you to specify an icon.

Here's an example (taken from MSDN library):

   <HTA:APPLICATION ID="oHTA"
      APPLICATIONNAME="myApp"
BORDER="thin"
BORDERSTYLE="normal"
CAPTION="yes"
ICON="graphics/face01.ico"
MAXIMIZEBUTTON="yes"
MINIMIZEBUTTON="yes"
SHOWINTASKBAR="no"
SINGLEINSTANCE="no"
SYSMENU="yes"
VERSION="1.0"
WINDOWSTATE="maximize"
   >

All you do is put this in your HEAD tags.

HTH,

-Dain

Katz, Dov B (IT) wrote:
> A friend of mine asked me an interesting technical question  for which I
> have no answer, so I figured i'd ask the group.
>
>
> If someone pops up a new window (assume MSIE 5/6+), is there any way to
> specify the icon to use for the window itself instead of the blue "ie"
> icon?   Even if by some sort of hack, or vb scripting magic?
>
>
> Just wondering if there's some good information I can give him..
>
>
> I'm not looking for favicon, / page icon, but rather, the actual "Window
> Icon" itself, which appears on the taskbar, etc..
>
>
> Thanks in advance
> -Dov
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to