Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to Integrate VBscript into delphi application?

619 views
Skip to first unread message

ymj

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
Hello all:

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

Yorai Aminov (TeamB)

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
ymj wrote in message <01bdc4ee$c0100da0$9e6860ca@beyond>...

>I want to integrate VBscript language into my application.

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)


Brian Armstrong

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
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>...

Andre v.d. Merwe

unread,
Aug 13, 1998, 3:00:00 AM8/13/98
to
>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


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
+---------------------------------------------------------------------------

E. I. SIMAY

unread,
Aug 13, 1998, 3:00:00 AM8/13/98
to
And You probably need the Microsoft's Scripting Engine, too.
Downloadable from MS.

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.
> >

Andre v.d. Merwe

unread,
Aug 14, 1998, 3:00:00 AM8/14/98
to
>And You probably need the Microsoft's Scripting Engine, too.
>Downloadable from MS.

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

0 new messages