DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 183698 - Last Review: February 21, 2014 - Revision: 4.0

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:
Collapse this imageExpand this image
Download
Download the Axsh.exe package now. (http://download.microsoft.com/download/vc60pro/sample3/1/win98/en-us/axsh.exe)

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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/168214/ ) MFCAxs.exe implements an Active Script Host using MFC

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++, 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
Keywords: 
kbnosurvey kbarchive kbhowto kbdownload kbfile kbsample atdownload KB183698
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support