Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Title Bar Icon

44 views
Skip to first unread message

David

unread,
Jan 26, 2005, 5:17:06 PM1/26/05
to
I use IE 6.0 because of its ability to be programmed to perform like a win32
application. I have a full-fledge application that is completely browser
based. My application has mulitple "modules", each which is in itself, an
application. Basically, I have an enterprise application suite. My problem
is that each one opens a browser window. This is not so bad (I do it
intentionally), but when many windows are minimized, you can't tell which is
which without maxmizing each one. I want to change the icon that shows in
the Title bar and when minimized in the Windows Taskbar for each module. Is
this possible? I have icons that represent each module, and currently they
are used as "favicons". But this only displays on the address bar and in the
favorites menu. How to I use it to represent the specific browser window?

Igor Tandetnik

unread,
Jan 26, 2005, 5:38:15 PM1/26/05
to
"David" <Da...@discussions.microsoft.com> wrote in message
news:7A9400C9-67DA-47C8...@microsoft.com

> I use IE 6.0 because of its ability to be programmed to perform like
> a win32 application. I have a full-fledge application that is
> completely browser based. My application has mulitple "modules",
> each which is in itself, an application. Basically, I have an
> enterprise application suite. My problem is that each one opens a
> browser window. This is not so bad (I do it intentionally), but when
> many windows are minimized, you can't tell which is which without
> maxmizing each one. I want to change the icon that shows in the
> Title bar and when minimized in the Windows Taskbar for each module.

You can probably distribute your applications as HTAs and use
<hta::aplication icon="..."> attribute. For more details, see

http://msdn.microsoft.com/workshop/author/hta/overview/htaoverview.asp
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


David

unread,
Jan 26, 2005, 5:51:03 PM1/26/05
to

"Igor Tandetnik" wrote:

Can HTA's function like ASP? I use ASP, not HTML, for my application. Does
HTA have all the power that ASP has?

Igor Tandetnik

unread,
Jan 26, 2005, 7:14:32 PM1/26/05
to
"David" <Da...@discussions.microsoft.com> wrote in message
news:FF664F74-4B88-43E6...@microsoft.com

> Can HTA's function like ASP? I use ASP, not HTML, for my
> application. Does HTA have all the power that ASP has?

HTA application is just an HTML page that uses certain extra HTML tags,
and is delivered by the server with a MIME type of application/hta
(instead of the usual text/html). It can be generated by an ASP script
or any other server technology. Chances are, your existing ASP pages
will immediately work as HTAs as soon as you change the MIME type with
Response.ContentType = "application/hta"

David

unread,
Jan 27, 2005, 5:05:04 PM1/27/05
to

"Igor Tandetnik" wrote:


Ok, that works well. I really appreciate your help. Still it creates a
different issue. If I want each module to get its own icon, I need for each
to be it's own HTA (at least that's the way it seems). This produces a
problem because each HTA has no knowledge of the others, and so each gets its
own Session values, rather than sharing Session values. I use the
window.open command to call each module window. This in turn forces me to
produce a new HTA which doesn't communicate with the first. The biggest
issue this creates is that I want a user to only log in once, and then be
able to access each module without re-logging in. Also, I need to be able to
manage session timeouts so that if the users session ends bacause they were
away from their desk, I can force each module to to quit and force them back
to the Login Screen. Is there a way to make my HTA's communicate, or make
each module window have its own ICON while staying the same HTA?

Igor Tandetnik

unread,
Jan 27, 2005, 5:19:58 PM1/27/05
to
"David" <Da...@discussions.microsoft.com> wrote in message
news:BB1AD506-BD42-4C1A...@microsoft.com

> Ok, that works well. I really appreciate your help. Still it
> creates a different issue. If I want each module to get its own
> icon, I need for each to be it's own HTA (at least that's the way it
> seems). This produces a problem because each HTA has no knowledge of
> the others, and so each gets its own Session values, rather than
> sharing Session values.

It looks like each HTA window runs in its own session. I don't know any
way around it, sorry.

David

unread,
Jan 27, 2005, 5:31:03 PM1/27/05
to

"Igor Tandetnik" wrote:

> It looks like each HTA window runs in its own session. I don't know any
> way around it, sorry.
> --
>


Hmm... Well, how about this... I know that HTA has control over the Client
PC, just like any Executable. Is there a way to Shut down a HTA from another
HTA. If that is possible, I could have one HTA run a session timer using
"Activity" values from a local file updated by the other HTAs. When the
"Activity" ceases, and time runs out, I could then have my "timer" HTA shut
down the other HTAs. Do you think this is possible? Is there a way to shut
down another HTA?

0 new messages