Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Go Back   EduGeek.net Forums > Coding and Web Development > Coding
Reply
 
LinkBack Thread Tools Search Thread Language
Sponsored Links
Old 19-07-2008, 08:29 AM   #1
 
My220x's Avatar
 
Join Date: Feb 2008
Location: UK
Posts: 209
uk
Thanks: 6
Thanked 2 Times in 2 Posts
Blog Entries: 8
Rep Power: 2 My220x is on a distinguished road
Default Java And Task Manager

Does anyone know what the Java code would be to check taskmanager to see if an application is open and if not start it? I have Googled but could not find anything.
  Reply With Quote
Old 21-07-2008, 10:33 AM   #2
 
rob_f's Avatar
 
Join Date: May 2008
Location: Leeds
Posts: 56
uk uk yorkshire
Thanks: 1
Thanked 6 Times in 5 Posts
Rep Power: 3 rob_f is on a distinguished road
Default

The proper way to do it would be to use JNI to interface with Windows Management Instrumentation (WMI).

List currently running processes (Windows) - Real's Java How-to offers a way by capturing the stdout of tasklist.exe, a command-line variant of taskmgr.

hth
  Reply With Quote
Reply

Register now for FREE and post messages!


Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Birthday:      
Image Verification
  I agree to forum rules 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Task management? ClaireL Windows 4 19-05-2008 02:38 PM
Deploy a scheduled task! Ste_Harve How do you do....it? 2 14-09-2007 02:04 PM
got some places one task it course russdev General EduGeek News/Announcements 7 24-03-2006 10:19 AM
Task timeframes. Jake How do you do....it? 8 06-01-2006 01:16 PM
The pupils need to be able to configure PC to do this task tosca925 Windows 9 08-11-2005 10:45 AM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 09:24 AM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright EduGeek.net