Solved

in WSCRIPT only

Posted on 2001-09-13
4
133 Views
Last Modified: 2010-05-02
I want to check if a process is running.
If not add a message in an existing file at the end of file.
That the process is not running.
Thks
0
Comment
Question by:tibert
4 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 6479858
You will have a problem doing this solely in VBScript, the reason being that you don't have access to API calls which are necessary. You could easily create an activex dll in VB which can be called from the VBScript routine to achieve this if you want. I can give you VB code to determine the existence of processes, it would be up to you after that to write the necessary information using FSO unless you encapsulated the whole lot into the dll.
0
 
LVL 27

Expert Comment

by:Ark
ID: 6481293
Which process? Your app or predefined one?
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7208359
Hi tibert,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept TimCottee's comment(s) as an answer.

tibert, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7241191
Per recommendation, force-accepted.

Netminder
CS Moderator
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now