Discussion:
Embedding Windows Script Host
(too old to reply)
Marvin Landman
2009-08-23 18:31:23 UTC
Permalink
Hi,

I would like to embed Windows Script Host into my application. I was
able to find examples on using Windows Script Control but that seems to
be a separate wrapper around Windows Script Host.

I would be happy if you could point me to some documentation or sample
code on how to use Windows Script Host. I am fine with C/C++ code as
well as Visual Basic 6.

I also was unable to find documentation about the interfaces necessary
to implement my own scripting language like ActivePerl did for example.
Please help me regarding that as well.

Thanks.

Regards,
Marvin
Steven Cheng
2009-08-24 09:50:17 UTC
Permalink
Hi Marvin,

As for adding dynamic scripting functions in own application, so far what
I've found is using teh Active Scripting interfaces via ATL COM object.
Here are some articles describing this:

#How to add support for hosting VBScript to an ATL application
http://support.microsoft.com/kb/223139

#Adding Macro Scripting language support to existing ATL/WTL Application
https://www.codeproject.com/KB/wtl/atlscripthost.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
***@microsoft.com.

--------------------
Date: Sun, 23 Aug 2009 20:31:23 +0200
Subject: Embedding Windows Script Host
Hi,
I would like to embed Windows Script Host into my application. I was
able to find examples on using Windows Script Control but that seems to
be a separate wrapper around Windows Script Host.
I would be happy if you could point me to some documentation or sample
code on how to use Windows Script Host. I am fine with C/C++ code as
well as Visual Basic 6.
I also was unable to find documentation about the interfaces necessary
to implement my own scripting language like ActivePerl did for example.
Please help me regarding that as well.
Thanks.
Regards,
Marvin
Marvin Landman
2009-08-27 16:59:46 UTC
Permalink
Hi Steven,

Thank you very much for your reply regarding embedding Windows Script
Host, I am very happy with the articles you have found.

I would appreciate if you could obtain some information regarding adding
Post by Steven Cheng
Post by Marvin Landman
I also was unable to find documentation about the interfaces necessary
to implement my own scripting language like ActivePerl did for example.
Please help me regarding that as well.
Thanks.

Marvin
Post by Steven Cheng
Hi Marvin,
As for adding dynamic scripting functions in own application, so far what
I've found is using teh Active Scripting interfaces via ATL COM object.
#How to add support for hosting VBScript to an ATL application
http://support.microsoft.com/kb/223139
#Adding Macro Scripting language support to existing ATL/WTL Application
https://www.codeproject.com/KB/wtl/atlscripthost.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
--------------------
Post by Marvin Landman
Date: Sun, 23 Aug 2009 20:31:23 +0200
Subject: Embedding Windows Script Host
Hi,
I would like to embed Windows Script Host into my application. I was
able to find examples on using Windows Script Control but that seems to
be a separate wrapper around Windows Script Host.
I would be happy if you could point me to some documentation or sample
code on how to use Windows Script Host. I am fine with C/C++ code as
well as Visual Basic 6.
I also was unable to find documentation about the interfaces necessary
to implement my own scripting language like ActivePerl did for example.
Please help me regarding that as well.
Thanks.
Regards,
Marvin
Steven Cheng
2009-08-28 07:01:43 UTC
Permalink
Thanks for your reply Marvin,

As for the "adding your own scripting language", do you mean that add a
custom script language with own grammar and syntatx? The current interface
I found for script host integration all use the current windows script
engine and supported languages(such as vbscript, jscript).

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
***@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

--------------------
Date: Thu, 27 Aug 2009 18:59:46 +0200
MIME-Version: 1.0
Subject: Re: Embedding Windows Script Host
Hi Steven,
Thank you very much for your reply regarding embedding Windows Script
Host, I am very happy with the articles you have found.
I would appreciate if you could obtain some information regarding adding
Post by Steven Cheng
Post by Marvin Landman
I also was unable to find documentation about the interfaces necessary
to implement my own scripting language like ActivePerl did for example.
Please help me regarding that as well.
Thanks.
Marvin
Post by Steven Cheng
Hi Marvin,
As for adding dynamic scripting functions in own application, so far what
I've found is using teh Active Scripting interfaces via ATL COM object.
#How to add support for hosting VBScript to an ATL application
http://support.microsoft.com/kb/223139
#Adding Macro Scripting language support to existing ATL/WTL Application
https://www.codeproject.com/KB/wtl/atlscripthost.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
--------------------
Post by Marvin Landman
Date: Sun, 23 Aug 2009 20:31:23 +0200
Subject: Embedding Windows Script Host
Hi,
Marvin Landman
2009-08-28 08:13:33 UTC
Permalink
Hi,

Basically I mean a custom scripting language with own grammar and syntax
but I only need help to integrate an existing language
interpreter/engine with Windows Script Host. This must be possible
because ActivePerl (a third party product) is able to integrate with
Windows Script Host.

Thanks.

Marvin
Post by Steven Cheng
Thanks for your reply Marvin,
As for the "adding your own scripting language", do you mean that add a
custom script language with own grammar and syntatx? The current interface
I found for script host integration all use the current windows script
engine and supported languages(such as vbscript, jscript).
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
--------------------
Date: Thu, 27 Aug 2009 18:59:46 +0200
MIME-Version: 1.0
Subject: Re: Embedding Windows Script Host
Hi Steven,
Thank you very much for your reply regarding embedding Windows Script
Host, I am very happy with the articles you have found.
I would appreciate if you could obtain some information regarding adding
Post by Steven Cheng
Post by Marvin Landman
I also was unable to find documentation about the interfaces necessary
to implement my own scripting language like ActivePerl did for example.
Please help me regarding that as well.
Thanks.
Marvin
Post by Steven Cheng
Hi Marvin,
As for adding dynamic scripting functions in own application, so far
what
Post by Steven Cheng
I've found is using teh Active Scripting interfaces via ATL COM object.
#How to add support for hosting VBScript to an ATL application
http://support.microsoft.com/kb/223139
#Adding Macro Scripting language support to existing ATL/WTL Application
https://www.codeproject.com/KB/wtl/atlscripthost.aspx
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments
and
Post by Steven Cheng
suggestions about how we can improve the support we provide to you.
Please
Post by Steven Cheng
feel free to let my manager know what you think of the level of service
--------------------
Post by Marvin Landman
Date: Sun, 23 Aug 2009 20:31:23 +0200
Subject: Embedding Windows Script Host
Hi,
Loading...