ASP
  Home arrow ASP arrow Executing And Tracking A Process With VB A...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP

Executing And Tracking A Process With VB And ASP
By: Joe O'Donnell
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 4
    2002-01-26

    Table of Contents:
  • Executing And Tracking A Process With VB And ASP
  • Creating the legacy app
  • Creating the ActiveX DLL

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Executing And Tracking A Process With VB And ASP


    (Page 1 of 3 )

    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.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.

    More ASP Articles
    More By Joe O'Donnell


     

    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...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek