-
How can I know when a program fully loaded?
I am currently working on a Bot that will basically remove viruses and spyware from computers. I want this Bot to open for example SpyBot, Scan, Remove Viruses and then Close. I can open Spybot but I do not know how to make my program know when it fully loaded or complete its job so I can do the next thing. Is there a way to know when a program finished doing something such as finished scanning or finished loading?
Thanks in advance
-
only if the given programm supports it.
on the other hand, you could poll the file as long until it becomes readable.
usually when another programm opens a file, you cannot open it in another application. so if you retry to open the file until you can read it, that means the other programm has finished using that file.
if you trigger the external programm within your own java code, you also can just wait, until the external programm returns, what means it has finished.
Similar Threads
-
By stormswimmer in forum Java
Replies: 2
Last Post: 01-02-2006, 03:17 PM
-
By Gordon Reichhardt in forum VB Classic
Replies: 2
Last Post: 01-08-2002, 10:06 AM
-
By W.Pierce in forum VB Classic
Replies: 1
Last Post: 12-11-2001, 08:28 AM
-
By Willy Van den Driessche in forum .NET
Replies: 2
Last Post: 10-28-2001, 05:25 PM
-
Replies: 0
Last Post: 12-15-2000, 10:07 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks