Script2EXE --- Get Started
Quick Start Demonstrations
Explore The Samples
To programmers, nothing is as good as samples.
Click here!
Rules for Console Programm
Rules for Windows Programm
- The minimun requirement to is a HTML or HTA file.
- If the HTML page has links to other resources, such as image files,
HTML files, etc:
- Add them by clicking the [Add Files...] button.
-
The resource file names should use safe characters only:
a-z,
A-Z,
0-9 and
_.
For example, "mypic.gif" is safe, "my pic.gif" is not.
- File references must be of relative path.
For example, "c:\myapp\mypics\logo.gif" would cause unresolvable links.
It should be "mypics/logo.gif" if the refering file is in the "c:\\myapp" folder.
- In the HTML page, you can use methods provided by window.external,
for example, window.external.AllowContextMenu(4) to disable all other context menus but the text edit box.
For details of the window.external interface, click here.
Rules for ActiveX Control
- The requirement is a script file in JavaScript or VBScript language.
- The source codes must be saved with proper extension name: js for JavaScript and vbs for VBScript.
- To keep consistency, a script file must be associated with permanent CLSID, PROGID and DLL file name.
- To create a new ActiveX DLL, you must select a new CLSID and PROGID that do not exist in the system registry table.
More To Read