IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Getting A List Of Running Applications


kvarnerexpress
no avatar
Super Member
*********
Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



Post #1 post Jul 20 2005, 12:12 AM
At the moment, I know how to get a list of all running processes on the computer. The problem lies when it comes to the point in which I need a list of all the applications on the computer. This is just a minor distinction but enough of one to be causing me a problem.

I am trying to write this program that will open a certain program, however, this program (along with a couple of others I need it to open) run on a single process, even when you open multiple documents. One of these programs is, for example, OpenOffice. It opens one process, which is linked by the OpenOffice QuickStarter. Now lets say I open two different OpenOffice Text Documents. I get one process (the QuickStarter) called soffice.exe running. However, I have TWO windows open - one for each document. My problem, as you may or may not have figured out by now, is that after opening the first document, I have the connection to the process, but opening a the second document, I do not have the connection to second document, because the process is already opened and the process handler just gives me a link to the original file opened.

If anybody could help me out here, I'd greatly appreciate it, I've been racking my brain over this issue for the last week and can't seem to find anything on the internet to help. Thanks in advance!
Go to the top of the page
+Quote Post
biscuitrat
no avatar
Kween of Everything :)
***********
Group: Members
Posts: 1,052
Joined: 16-October 04
From: Houston, Tejas :D
Member No.: 1,774



Post #2 post Jul 20 2005, 04:48 PM
Just hit Ctrl Alt Del, and then go to the processes tab. I think that's what you want to do :/
Go to the top of the page
+Quote Post
JimiHex
no avatar
Newbie [Level 1]
*
Group: Members
Posts: 21
Joined: 2-August 05
Member No.: 10,190



Post #3 post Aug 2 2005, 09:02 PM
try to find something on http://www.allapi.net/
Go to the top of the page
+Quote Post
dul
no avatar
Member [Level 1]
****
Group: Members
Posts: 73
Joined: 21-September 05
Member No.: 12,113



Post #4 post Oct 20 2005, 02:41 AM
Use the FindWindow() winApi function. that is checks application /window/ has opened before. Also EnumWindows. That is API function as well.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 13 stevey 1,092 16th August 2006 - 09:59 AM
Last post by: NightRider
No New Posts   2 threepach 697 19th February 2008 - 08:30 PM
Last post by: threepach
No New Posts   2 Brian Gillingham 352 4th June 2006 - 02:23 PM
Last post by: Brian Gillingham
No New Posts   2 reconraiders 766 1st October 2007 - 03:31 PM
Last post by: ivenms
No New Posts 3 BoSZ 406 28th September 2004 - 11:12 AM
Last post by: BoSZ
No New Posts   0 rowita 460 30th September 2004 - 02:40 AM
Last post by: rowita
No New Posts 0 sanbeand 531 30th October 2005 - 12:45 AM
Last post by: sanbeand
No New Posts   9 Deaths Aprentice 590 20th November 2004 - 01:00 AM
Last post by: xboxrulz
No New Posts   1 Zubair1 597 5th December 2004 - 10:15 PM
Last post by: icedragn
No New Posts 11 Zenchi 1,438 15th January 2005 - 10:55 AM
Last post by: Zaideu
No New Posts   0 bowti3 786 25th November 2004 - 06:20 AM
Last post by: bowti3
No New Posts   1 dark 420 7th December 2004 - 06:27 PM
Last post by: wassie
No New Posts   3 dark 484 14th December 2004 - 05:55 PM
Last post by: dark
No New Posts   1 MacFly 422 13th December 2004 - 10:47 PM
Last post by: serverph
No New Posts   0 Mike 467 28th December 2004 - 02:56 PM
Last post by: Mike


 



RSS Lo-Fi Version Time is now: 5th December 2008 - 01:32 PM