|
ekWSHcontrol for Delphi v.2.0 (Delphi script component) is released
Delphi script component wich enables Delphi application to support active scripting languages installed in Windows Scripting Host (such as VB Script, Java Script, Perl, Python, Rexx, Tcl etc).
Lets to run scripts from application and shares any application object inherited from TPersistent with script interpreter engine. TekWSHControl script component allows to operate with Delphi objects in script, including reading and writing published properties, running methods, setting script procedures as event handlers etc.
New version 2.0 features and improvements:
-- Advanced support of published method calls from scripts
-- Advanced support of script routines calls from Delphi applications
-- Advanced event handlers support (for script procedures as Delphi event handlers)
-- Set of universal script language extensions added
-- New methods and properties to handle script errors, pass objects as script routines parameters, etc.
-- Minor bugs fixed
-- Delphi7 support
-- Help system updated
-- Demo examples pack added (contains demo projects showing all of control features using)
-- Other minor changes, fixes and improvements
-- Licensing politics changed
Why you need a Windows Scripting Host control? There are many possible reasons. As examples:
-- You want to develop some application but don't know all desired functionality now. So it is just a case to include ekWSHControl! Place control on the form and make some interface to read scripts or script statements from outside storage (files, database blob fields, manually entered in memo, webserver, other applications using communication protocols etc.). Then your application can read and execute scripts at any moment you want. And you can do everything with your application's objects (inherited from TPersistent) beside script sources - it means adding, deleting, operating objects and controls, defining event handlers, running methods and more.
-- For applications to be controlled remotely via web services: place ekWSHControl and make write some code to connect web server, get script body or statement and execute scripts received via internet or intranet - for manage application, change its configuration and functionality or simply execute VBScript, JScript or any other script (installed with your Windows) on local computer.
-- For applications which must run scripts, i.e. installers.
-- any other tasks which require scripting ability.
Windows Scripting Host control for Delphi Advantages
-- Any script language supported by Windows scripting host can be used for scripts: VBScript and JavaScript by default, Perl, Python, Rexx, TCL, PHP, XSLT and any other for which extensions are installed in Windows.
-- No need to implement OLE-server functionality for application or any object to be shared with scripting engine.
-- Any object descending from TPersistent can be added to script's namespace and operated within script environment, including all of its published members.
-- Any object descending from TPersistent can be created within script and operated by script or by application after script is finished.
-- Recently used events of VCL components can be handled by script procedures (and you can add new events very easy if having source code of TekWSHControl component).
-- If control is added during script executing (in script procedure), event handlers for it are set automatically if any defined in script's body.
-- If control exists independently from scripts, event handlers for it may be set just by one line of code (like "Panel1.OnClick:= ekWSHControl1.OnClickHandler", and then event handling is redirected to script's procedure "Sub Panel1_OnClick()", if such present in scripts body).
-- Native VCL code.
-- Simplicity of use.
-- Delphi 4, 5, 6 and 7 support.
Related Discussions - HOW CAN I DEACTIVE DIAL-UP CONECTION? (2001-01-28 11:54:30)A guy named Ruben recently gave me this answer when I asked nearly the same question.........
----------------------------------------------------...
- SIMPLE EMAIL QUESTION (2001-01-30 07:40:08)Here is the MemoryStreamToWebBrowser example I promised:
// This writes a MemoryStream to the WebBrowser document
// without using any disk...
- HELP FINDING AV IN THIS COMPONENT (2001-02-16 08:23:12)Yes, I realize that, but even when I remove it I still get
the AV.
- CREATING SHORTCUTS (2001-01-28 01:16:27)This is a sample from the MSDN, I tried to translate it into Delphi. I did not try to execute it but it should work.
If it won't, tell me and I'll...
- DELETING THE EXEFILE... (2001-01-28 04:05:04)function CreateTempFileName: string;
var TempDir: array of Char;
count, len: LongInt;
dummy, sec: Word;
start: string;
begin...
- HOW TO DISCONNECT FROM THE INTERNET IN DELPHI 5 (2001-01-28 11:55:14)A guy named Ruben recently gave me this answer when I asked nearly the same question.........
----------------------------------------------------...
- DETECTING SHADES OF COLOURS (GRAYSCALE) (2001-01-31 04:54:41)I'm Russian but I live in Belgium, so i'm not teh best in English too :)
The way you calculate the greyscale color is the wrong one.
red >...
- GRID INDEX OUT OF RANGE ERROR USING PARADOX TABLES (2001-01-29 16:26:47)Hello,
I ussauly get that error when for example:
I have 20 records in my paradox table.
Here I set To Table1.RecNo:=21.
When I execute...
- NOBODY CAN HELP ME???? (2001-01-30 08:03:06)Here the link to Deborah Pate's sample projects using
bookmarks and properties:
http://www.djpate.freeserve.co.uk/Bookmarks.zip
visit her...
- RXLIBRARY INSTALLATION ISSUES IN DELPHI 5 PRO (2001-01-29 12:37:29)It is most likely due to your not having path to the BPL
in the library path in the environment options.
|