Home arrow ASP arrow Executing And Tracking A Process With VB And ASP
ASP

Executing And Tracking A Process With VB And ASP


If you've ever used the Windows API, then you'll know that it has certain functions to execute and monitor shell applications. In this article Joe shows us how to execute and monitor a C++ program as a separate process using API's through a Visual Basic ActiveX DLL and ASP.

Author Info:
By: Joe O'Donnell
Rating: 5 stars5 stars5 stars5 stars5 stars / 35
January 26, 2002
TABLE OF CONTENTS:
  1. · Executing And Tracking A Process With VB And ASP
  2. · Creating the legacy app
  3. · Creating the ActiveX DLL

print this article
SEARCH DEVARTICLES

Executing And Tracking A Process With VB And ASP
(Page 1 of 3 )

Over the last couple of weeks I've been playing around with my favourite programming languages on the Microsoft platform: ASP, Visual Basic and C++. I've been using these three languages to research, document and construct a test platform on my Windows 2000 server that imitates calling a legacy application through a modern web-based scripting language, such as ASP.

If you've ever used the Windows API then you'll know that it has certain functions to execute and monitor shell applications, track them as a process, and monitor their progress. In this article I'm going to show you how to use C++ to create a dummy legacy application. I will then show you how to execute and monitor this legacy app as a separate process using API's through a Visual Basic ActiveX DLL. Lastly, we will create an ASP script to instantiate this ActiveX DLL.

This article assumes a fair amount of programming knowledge and you should be at an intermediate level with C++, Visual Basic and ASP. You'll need access to a Windows 2000 server to run the ASP scripts and optionally Visual C++ 6 to create our C++ legacy app. If you don't have Visual C++ installed then don't worry, the legacy app's executable is included as part of the support material at the end of this article.
blog comments powered by Disqus
ASP ARTICLES

- Central Scoreboard with Flash and ASP
- Calorie Counter Using WAP and ASP
- Creating PGP-Encrypted E-Mails Using ASP
- Be My Guest in ASP
- Session Replacement in ASP
- Securing ASP Data Access Credentials Using t...
- The Not So Ordinary Address Book
- Adding and Displaying Data Easily via ASP an...
- Sending Email From a Form in ASP
- Adding Member Services in ASP
- Removing Unconfirmed Members
- Trapping HTTP 500.100 - Internal Server Error
- So Many Rows, So Little Time! - Case Study
- XDO: An XML Engine Class for Classic ASP
- Credit Card Fraud Prevention Using ASP and C...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials