Solved

in WSCRIPT only

Posted on 2001-09-13
4
139 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

808 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