Article ID: 183698
Article Last Modified on 9/1/2005
APPLIES TO
- 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++ 6.0 Standard Edition
- 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
This article was previously published under Q183698
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:
Download 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:
- Start in Microsoft Visual C++.
- On the File menu, click Open Workspace.
- Open the AshHelloWorld.mak file.
- 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
Additional query words: ActiveX Script Hosting vbscript jscript
Keywords: kbhowto kbdownload kbfile kbsample atdownload KB183698