473,326 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

application monitor/watchdog

5
I am looking for help in writing a SIMPLE application monitor. Effectively it must check for application(s), start them if not found to be running. Initially a standard vb .exe will do, although in time c# may be better. Anyone done something similar?
Nov 19 '07 #1
3 2585
Dököll
2,364 Expert 2GB
I am looking for help in writing a SIMPLE application monitor. Effectively it must check for application(s), start them if not found to be running. Initially a standard vb .exe will do, although in time c# may be better. Anyone done something similar?
Hello Taff!

Can you tell us a little more?

Do you have anything working thus far?

Dököll
Nov 20 '07 #2
Killer42
8,435 Expert 8TB
I am looking for help in writing a SIMPLE application monitor. Effectively it must check for application(s), start them if not found to be running. Initially a standard vb .exe will do, although in time c# may be better. Anyone done something similar?
You might be able to use the AppActivate statement to check whether they are running. Alternatively, the FindWindow API call, and similar variations, might help.

Oops! AppActivate applies to VB6, don't know about C#. The API call/s would be the same of course.
Nov 20 '07 #3
Taff
5
Hi Dokol,
Have all sorts of bits & pieces working. Started with a form to hope fully to display status of app, & button to start manually. Starting with basic apps like WordPad, notepad & paint. Can start the up ok with call to "Shell", but having problems understanding API stuff to discover app status. All Greek to me I'm afraid. I was hoping to find something SIMPLE, but no luck so far.
Afraid my knowlege of Windows API stuff minimal, done this kind of thing befor on UNIX systems, much easier there!
Nov 22 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: 'Notes__DV01_Watchdog_Demon'%KUESTER | last post by:
Watchdog Server: Notes_DV01 ----------------------------------------------------------------------- Your mail contained attachments which were denied by size or type....
7
by: dcrespo | last post by:
Hi to all, I'd like to have an app monitor that gets rid of another app, in the way that if it closes unspectedly, the app monitor just wake it up one more time, and viceversa. I mean: ...
4
by: John J. Hughes II | last post by:
Can one application consume an event from another running application? I would assume this is what is happen when an application monitors lets say a port. I have accomplished something similar...
11
by: LordHog | last post by:
Hello, I recently wrote an application that is used for testing units in a burn-in chamber. It uses two external library that require the use of P\Invoke in order to work with them. There is a...
9
by: Steve Buster | last post by:
All right, I have read every forum, newsgroup etc about this issue and no one seems to know how to fix it. I am getting a "Server Application Unavailable" exception running my .NET 1.1...
5
by: Kim Nørby Andersen | last post by:
Hello there I am lost. i receive the output in the bottom, from a site that runs excellently on our development server, but dies on the customer. We have had a first version running at the...
0
by: Tedmond | last post by:
Dear all, I need to write a watchdog program to monitor several services. Restart the services if they are stopped by any reason. I got a sample code as follows watcher = new...
13
by: ghighi | last post by:
Hello, I am working on a .Net application (aspx+webservices) that uses a windows service I created too. Sometimes, the exe linked to my service crashes (mostly runtime exception), and as a...
5
by: Amit | last post by:
Hi I am developing an application in C#. The application creates a TCPListener object and listens to (incoming) data on a particular port. A simulator hardware writes data to this port. My...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.