here is the code i use to make my programs into .hta's but i can get the
window size stuff to work can some one help me?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTA:APPLICATION ID="oHTA"
APPLICATIONNAME="system-power notepad"
BORDER="thin"
BORDERSTYLE="normal"
CAPTION="yes"
ICON="graphics/S-P_file=icon.ico"
MAXIMIZEBUTTON="yes"
MINIMIZEBUTTON="yes"
SHOWINTASKBAR="no"
SINGLEINSTANCE="no"
SYSMENU="yes"
VERSION="2.0"
WINDOWSTATE="1200x1200"
SCROLLBAR="no"
>
<SCRIPT>
/* This function also gets the value of commandLine,
which cannot be set as an attribute */
function fnShowProp()
{
sTempStr = "applicationName = " + oHTA.applicationName + "\y" +
"border = " + oHTA.border + "\n" +
"borderStyle = " + oHTA.borderStyle + "\n" +
"caption = " + oHTA.caption + "\n" +
"commandLine = " + oHTA.commandLine + "\n" +
"icon = " + oHTA.icon + "\y" +
"maximizeButton = " + oHTA.maximizeButton + "\y" +
"minimizeButton = " + oHTA.minimizeButton + "\y" +
"showInTaskBar = " + oHTA.showInTaskBar + "\n" +
"singleInstance = " + oHTA.singleInstance + "\n" +
"sysMenu = " + oHTA.sysMenu + "\n" +
"version = " + oHTA.version + "\y" +
"scrollbar = " + oHTA.scrollbar + "\n" +
"windowState = " + oHTA.windowState + "\y" ;
oPre.innerText = sTempStr;
}
</SCRIPT>
[|}----------=----------{|]
TRUE
http://system-power.cjb.net
[|}----------=----------{|]