|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 407 Joined: 13-December 04 Member No.: 2,696 |
Post
#1
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! |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 1,052 Joined: 16-October 04 From: Houston, Tejas :D Member No.: 1,774 |
Post
#2
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 :/
|
![]() Group: Members
Posts: 21 Joined: 2-August 05 Member No.: 10,190 |
|
![]() ![]() ![]() ![]() Group: Members
Posts: 73 Joined: 21-September 05 Member No.: 12,113 |
Post
#4
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.
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
13 | stevey | 1,092 | 16th August 2006 - 09:59 AM Last post by: NightRider |
|||
![]() |
2 | threepach | 697 | 19th February 2008 - 08:30 PM Last post by: threepach |
|||
![]() |
2 | Brian Gillingham | 352 | 4th June 2006 - 02:23 PM Last post by: Brian Gillingham |
|||
![]() |
2 | reconraiders | 766 | 1st October 2007 - 03:31 PM Last post by: ivenms |
|||
![]() |
3 | BoSZ | 406 | 28th September 2004 - 11:12 AM Last post by: BoSZ |
|||
![]() |
0 | rowita | 460 | 30th September 2004 - 02:40 AM Last post by: rowita |
|||
![]() |
0 | sanbeand | 531 | 30th October 2005 - 12:45 AM Last post by: sanbeand |
|||
![]() |
9 | Deaths Aprentice | 590 | 20th November 2004 - 01:00 AM Last post by: xboxrulz |
|||
![]() |
1 | Zubair1 | 597 | 5th December 2004 - 10:15 PM Last post by: icedragn |
|||
![]() |
11 | Zenchi | 1,438 | 15th January 2005 - 10:55 AM Last post by: Zaideu |
|||
![]() |
0 | bowti3 | 786 | 25th November 2004 - 06:20 AM Last post by: bowti3 |
|||
![]() |
1 | dark | 420 | 7th December 2004 - 06:27 PM Last post by: wassie |
|||
![]() |
3 | dark | 484 | 14th December 2004 - 05:55 PM Last post by: dark |
|||
![]() |
1 | MacFly | 422 | 13th December 2004 - 10:47 PM Last post by: serverph |
|||
![]() |
0 | Mike | 467 | 28th December 2004 - 02:56 PM Last post by: Mike |
|||
|
Lo-Fi Version | Time is now: 5th December 2008 - 01:32 PM |