I want to integrate VBscript language into my application.
I have some question?
1) How to do with the events of the delphi standard component in VBScript?
2) How to access delphi's property in VBScript?
Note: Don't throuth out the COM or ActiveX
thanks
E-Mail: wuqi...@163.net
w...@talent.com.cn
I've seen an example of doing this posted on the Web somewhere. Try
searching the Delphi Super Page (http://sunsite.icm.edu.pl/delphi/).
--
Yorai Aminov (TeamB)
http://ourworld.compuserve.com/homepages/yaminov
(TeamB cannot answer questions received via e-mail)
Try downloading the following file from the Delphi Informant Download
Library. It has a good demonstration of embedding VBScript and JavaScript
into your application, and for being able to expose Delphi COM Objects to
the end-user to use in scripts.
File: DI9802TS.ZIP - ActiveX Scripting Demo
Download: http://www.informant.com/libs/delphi/3x/di9802ts.zip
Hope this helps.
Brian Armstrong.
Yorai Aminov (TeamB) wrote in message <6qs82d$4j...@forums.borland.com>...
There is an demo app written by Brian Dupras at the DSP. On the Apps with
souce page.
You can also use the miscrosoft scripting control, which makes things a bit
easier. see http://www.microsoft.com/scripting
However if you want real flexibility then the MS scripting control is
probably not a good idea.
Delphi 4 suports scriping events and you dont need to use the event class
provided in Brian's examples. VBScript supports events, but for some reason
JScript does not (yet?). The 5.0 beta version of the scripting engines is
avaliable from MS, maybe this is fixed in the new release....
I am working with AxScripting at the moment, if you would like a demo
application feel free to mail me and I'll send you the (Delphi 4) code as
soon as I can.
+---------------------------------------------------------------------------
| Andre v.d. Merwe <da...@iafrica.com>
| -DaRT->'s Delphi Page http://users.iafrica.com/d/da/dart/zen/zen.html
+---------------------------------------------------------------------------
Brian Armstrong wrote:
> Hello,
>
> Try downloading the following file from the Delphi Informant Download
> Library. It has a good demonstration of embedding VBScript and JavaScript
> into your application, and for being able to expose Delphi COM Objects to
> the end-user to use in scripts.
>
> File: DI9802TS.ZIP - ActiveX Scripting Demo
> Download: http://www.informant.com/libs/delphi/3x/di9802ts.zip
>
> Hope this helps.
>
> Brian Armstrong.
>
> Yorai Aminov (TeamB) wrote in message <6qs82d$4j...@forums.borland.com>...
> >ymj wrote in message <01bdc4ee$c0100da0$9e6860ca@beyond>...
> >>I want to integrate VBscript language into my application.
> >
It should be installed if you have MSIE 3.01 or above (or win98). If you
need to d/l it got to http://www.microsoft.com/scripting both the 3.x
version and the 5.0 beta are available