Axsh.exe demonstrates how to implement an active scripting host

This article was previously published under Q183698
This article has been archived. It is offered "as is" and will no longer be updated.
SUMMARY
The Axsh.exe sample is a sample that demonstrates how to implement an active scripting host.
MORE INFORMATION
The following files are available for download from the Microsoft Download Center:
DownloadDownload the Axsh.exe package now.

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to obtain Microsoft support files from online services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

When you run the self-extracting executable file, the following files are expanded into the C:\Program Files\DevStudio\MyProjects\ActiveXExample folder:
  • Readme.txt (11.5K)
  • MyScript.txt (1K)
  • AshHelloWorld.dsp (5K)
  • Ashhelloworld.h (9K)
  • AshHelloWorld.mak (9K)
  • AshHelloWorld.odl (1K)
  • Ashhelloworld_i.c (1K)
  • Generic.rc (3K)
  • GenericApp.cpp (11.5K)
  • Icon1.ico (1K)
  • MyDispids.H (.5K)
  • ObjectFrame.cpp (20K)
  • ObjectFrame.h (3K)
  • Resource.h(.6K)
  • ScriptedFrame.cpp (16K)
  • ScriptedFrame.h(3K)
  • Multinfo.h(7K)
To use the file, open it to extract the Readme.txt file and the sample source code. The Readme.txt file contains step-by-step instructions for implementing the ActiveX script host.

To compile the sample application, follow these steps:
  1. Start in Microsoft Visual C++.
  2. On the File menu, click Open Workspace.
  3. Open the AshHelloWorld.mak file.
  4. Compile.
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Joel Alley, Microsoft Corporation.

REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
168214 MFCAxs.exe implements an Active Script Host using MFC
ActiveX Script Hosting vbscript jscript
Properties

Article ID: 183698 - Last Review: 02/21/2014 00:29:03 - Revision: 4.0

  • Microsoft Visual C++ 5.0 Enterprise Edition
  • Microsoft Visual C++ 6.0 Enterprise Edition
  • Microsoft Visual C++ 5.0 Professional Edition
  • Microsoft Visual C++ 6.0 Professional Edition
  • Microsoft Visual C++, 32-bit Learning Edition 6.0
  • Microsoft Visual Basic, Scripting Edition 1.0
  • Microsoft Visual Basic, Scripting Edition 1.1
  • Microsoft Visual Basic, Scripting Edition 2.0
  • Microsoft Visual Basic, Scripting Edition 3.0
  • Microsoft Internet Client Software Development Kit 4.0
  • Microsoft Visual C++ .NET 2002 Standard Edition
  • kbnosurvey kbarchive kbhowto kbdownload kbfile kbsample atdownload KB183698
Feedback