Click here to Skip to main content
15,867,453 members
Articles / Programming Languages / C#

C# Interfaces for the Windows Scripting Host

Rate me:
Please Sign up or sign in to vote.
3.24/5 (19 votes)
18 May 2007CPOL2 min read 62.1K   806   30   10
Introducing a C# implementation of the interfaces required to implement a Windows Scripting Host
Screenshot - ZetaActiveScript_01.png

Introduction

For the upcoming version 8 of our Windows based CMS Zeta Producer, I included the Windows Scripting Host for VBScript files into the application. Therefore I was in the need to get all the interfaces required to implement my own host.

Since it was rather hard and time-consuming to put all these interfaces together, I wrote this article to make it easier for others requiring the same information.

Therefore this article simply lists the interfaces but does not show any implementations of them. (Of course, please still do vote with a high rating for the article).

Defined Types

The following interfaces are defined:

The following enums are defined:

Using the Code

As mentioned above, this article is a reference for Windows Script interfaces, not an article about how to actually write your own Windows Scripting host.

For more information about this topic, please refer to Google or one of the following websites:

Conclusion

In this article, I've shown you the C# implementation of the interfaces to the Windows Scripting Host engine.

I would be happy to get your feedback in the comments section at the end of this article. Feel free to ask your questions or provide me with suggestions and enhancements.

History

  • 2007-05-18: Initial release of the article

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer Zeta Software GmbH
Germany Germany
Uwe does programming since 1989 with experiences in Assembler, C++, MFC and lots of web- and database stuff and now uses ASP.NET and C# extensively, too. He has also teached programming to students at the local university.

➡️ Give me a tip 🙂

In his free time, he does climbing, running and mountain biking. In 2012 he became a father of a cute boy and in 2014 of an awesome girl.

Some cool, free software from us:

Windows 10 Ereignisanzeige  
German Developer Community  
Free Test Management Software - Intuitive, competitive, Test Plans.  
Homepage erstellen - Intuitive, very easy to use.  
Offline-Homepage-Baukasten

Comments and Discussions

 
Generalminimalistic implementation Pin
vidocq_326-Nov-11 0:10
vidocq_326-Nov-11 0:10 
QuestionHow to use it... Pin
spins31-Aug-11 0:13
spins31-Aug-11 0:13 
AnswerRe: How to use it... Pin
Uwe Keim1-Aug-11 0:37
sitebuilderUwe Keim1-Aug-11 0:37 
GeneralCasting weirdness Pin
Peter Wone3-Oct-08 1:09
Peter Wone3-Oct-08 1:09 
QuestionIActiveScriptSiteWindow Pin
Crackhour15-Aug-08 16:57
Crackhour15-Aug-08 16:57 
AnswerRe: IActiveScriptSiteWindow Pin
Crackhour16-Aug-08 12:19
Crackhour16-Aug-08 12:19 
GeneralScripting From Applications Pin
Guy Schettig12-Aug-08 1:41
Guy Schettig12-Aug-08 1:41 
GeneralRe: Scripting From Applications Pin
Uwe Keim12-Aug-08 2:02
sitebuilderUwe Keim12-Aug-08 2:02 
GeneralGreat article Pin
armagedescu18-Jul-07 23:33
armagedescu18-Jul-07 23:33 
GeneralRe: Great article Pin
Uwe Keim18-Jul-07 23:36
sitebuilderUwe Keim18-Jul-07 23:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.