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
"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?
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"
"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?
It looks like each HTA window runs in its own session. I don't know any
way around it, sorry.
"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?