PDA

View Full Version : HTAs and browser-compatibility


ASAAKI
07-15-2002, 02:03 PM
i need to know ... if I make an HTML application in IE, how will it work on the client's computer? I mean, do HTAs need to be scripted for cross-browser compatibility just like ordinary webpages? Or does it work according to whatever browser it was written in, regardless of the client's browser?

thanx:)

Zvona
07-15-2002, 02:44 PM
As far as I know, HyperText Applications are proprietary for Internet Explorer. In addition, HTA's are very lowly respected and considered as security holes.

I don't recommend using HyperText Applications. However, you can find more information about them from MSDN Library : HTML Applications (HTA) (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/hta/overview/htaoverview.asp?frame=true).

joh6nn
07-15-2002, 06:09 PM
I've done a decent amount of work with HTA's, for my own amusement. HTA's are Internet Explorer, so there's no need to worry about compatability problems; you're writing for a solely Explorer environment. However, this means that only Windows systems can use HTA's. Also, HTA's are open to, and the cause of, all kinds of security problems. That's why i only used the HTAs for my own amusement. My computer is already locked down like a safe, and i generally don't need to worry about security issues.

jrmevans
05-17-2003, 01:45 PM
I have a hta file created.

what i was wonder is how i can control the size of it. I have search the from MSDN Library on how to do it but haven't found anything.

anyone have any Ideas.

swmr
05-17-2003, 05:26 PM
Besides setting the WINDOWSTATE (maximize, normal, minimize), HTAs don't seem to provide for sizing.

something like this works, though:
------------------------------------------------------------------------------
<body onload="this.resizeTo(400,400);
window.moveTo(200,200)">
------------------------------------------------------------------------------
Just change the numbers (in red) to suit your purpose...

jrmevans
05-17-2003, 07:08 PM
thanks that is what i was looking for...