The only way to get this working would be using HTA. Note, it works on MS windows (98 and up) only.
It is an html file that starts like this:
<html>
<head>
<title>Put your title here</title>
<HTA:APPLICATION
    ID="ID of the app"
    ICON="appicon.ico"
    APPLICATIONNAME="Name of the app"
    VERSION = "1"
    SHOWINTASKBAR="yes"
    BORDER="thick"
    BORDERSTYLE="normal"
    SINGLEINSTANCE="yes"
    SYSMENU="yes"
    WINDOWSTATE="normal"
    MAXIMIZEBUTTON="yes"
    MINIMIZEBUTTON="yes"
    CAPTION="yes"
    CONTEXTMENU="yes"
    INNERBORDER="no"
    NAVIGABLE="yes"
    SCROLL="no"
    SCROLLFLAT="yes"
    SELECTION="no">
</head>
<body>
<a href="myapp.exe">Click here to launch the myapp.exe</a>
</body>
</html>
Save this file as test.hta. Thats it. HTA's have same restrictions as any other applications on windows. Now you can use javascript (jscript), vbscript, activex components and whatever you need...

If there are frames in the hta application then each frame must be allowed to get access to system by setting it to "application" and "trusted" like application="yes" trusted="yes" i.e.like: <IFRAME src="res://resources.dll/GUI/my_app" name="main_fr" application="yes" trusted="yes" width="100%" height="97%" marginwidth=0 marginheight=0 frameborder=0 scrolling="auto"></IFRAME>

Viktoras

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to