473,395 Members | 1,442 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,395 software developers and data experts.

Process List

I would like to ask if anyone here has any knowledge in reguards to
creating or getting a list of currently running processes. I'de like
to place them in a ListBox( Unless someone has a better suggestion )
in a Windows Form app that I am developing in MSVS 2003. If anyone has
any sugggestions I would appreciate any help. Thank you.

Jun 2 '07 #1
7 5025
A. Anderson wrote:
I would like to ask if anyone here has any knowledge in reguards to
creating or getting a list of currently running processes. I'de like
to place them in a ListBox( Unless someone has a better suggestion )
in a Windows Form app that I am developing in MSVS 2003. If anyone has
any sugggestions I would appreciate any help. Thank you.
This looks like a windows question, so try a windows programming group.

--
Ian Collins.
Jun 2 '07 #2
On Jun 2, 4:10 pm, Ian Collins <ian-n...@hotmail.comwrote:
A. Anderson wrote:
I would like to ask if anyone here has any knowledge in reguards to
creating or getting a list of currently running processes. I'de like
to place them in a ListBox( Unless someone has a better suggestion )
in a Windows Form app that I am developing in MSVS 2003. If anyone has
any sugggestions I would appreciate any help. Thank you.

This looks like a windows question, so try a windows programming group.

--
Ian Collins.
Alright, I figured it might fall under C++ so I thought I would make
an attempt. Thank you for your time and I'll find another group. Out
of curiosity do you have any suggestions for a group? Im not sure that
I'll have a hard time finding one at any rate. Thank you again.

Andrew Anderson.

Jun 2 '07 #3
On Jun 3, 12:16 am, "A. Anderson" <andrew.anderson.2...@gmail.com>
wrote:
On Jun 2, 4:10 pm, Ian Collins <ian-n...@hotmail.comwrote:
A. Anderson wrote:
I would like to ask if anyone here has any knowledge in reguards to
creating or getting a list of currently running processes. I'de like
to place them in a ListBox( Unless someone has a better suggestion )
in a Windows Form app that I am developing in MSVS 2003. If anyone has
any sugggestions I would appreciate any help. Thank you.
This looks like a windows question, so try a windows programming group.
--
Ian Collins.

Alright, I figured it might fall under C++ so I thought I would make
an attempt. Thank you for your time and I'll find another group. Out
of curiosity do you have any suggestions for a group? Im not sure that
I'll have a hard time finding one at any rate. Thank you again.

Andrew Anderson.
Hi Andrew,

As Ian said, this is OT for this group, but (assuming you're looking
for Windows stuff) have a search for PSAPI for the later OSes and
ToolHelp for the earlier ones. On MSDN that should give you enough to
get going.

Hope that helps,

Doug

Jun 2 '07 #4
On Sat, 02 Jun 2007 16:16:04 -0700, A. Anderson wrote:
>On Jun 2, 4:10 pm, Ian Collins <ian-n...@hotmail.comwrote:
>This looks like a windows question, so try a windows programming group. [...]

Alright, I figured it might fall under C++ so I thought I would make
an attempt. Thank you for your time and I'll find another group. Out
of curiosity do you have any suggestions for a group? Im not sure that
I'll have a hard time finding one at any rate. Thank you again.
The canonical answer to this is posting the following link :-)

<http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9>

(it's not that we don't want to help, really; the one above *is* the
reference page for users trying to chose an appropriate newsgroup;
should you find that it doesn't work for you, please post a line here:
in that case it must be updated, for the benefit of all users)

--
Gennaro Prota -- C++ Developer, For Hire
https://sourceforge.net/projects/breeze/
(replace 'address' with 'name.surname' to mail)
Jun 2 '07 #5
Alright, thanks everyone and my apologies for getting into the topic
on the wrong board. I do have another question pertaining to another
problem I am experiencing with some server software I am writting in
reguards to the select() function returning EADDRNOTAVAIL. This is on
a Linux Machine, Ubuntu 6.06? I believe. I've read what the error
means but I've not been able to find any reasons why it would be
occuring. Again, if anyone has any suggestions I appreciate any help I
can get. Thank you gentlemen again.

Andrew Anderson.

Jun 2 '07 #6
A. Anderson wrote:
Alright, thanks everyone and my apologies for getting into the topic
on the wrong board. I do have another question pertaining to another
problem I am experiencing with some server software I am writting in
reguards to the select() function returning EADDRNOTAVAIL. This is on
a Linux Machine, Ubuntu 6.06? I believe. I've read what the error
means but I've not been able to find any reasons why it would be
occuring. Again, if anyone has any suggestions I appreciate any help I
can get. Thank you gentlemen again.
comp.unix.programmer is a good place for general socket and networking
type questions.

--
Ian Collins.
Jun 3 '07 #7
In article <11*********************@h2g2000hsg.googlegroups.c om>,
an******************@gmail.com says...
I would like to ask if anyone here has any knowledge in reguards to
creating or getting a list of currently running processes. I'de like
to place them in a ListBox( Unless someone has a better suggestion )
in a Windows Form app that I am developing in MSVS 2003. If anyone has
any sugggestions I would appreciate any help. Thank you.
comp.os.ms-windows.programmer.win32 would be a reasonable place to look.
If you Google for 'ps' there you should come up with some code (adding
'j******@taeus.com' as the author might help narrow down the results to
make it easier to find one with code...)

--
Later,
Jerry.

The universe is a figment of its own imagination.
Jun 3 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ron | last post by:
I've written a screen saver which opens multiple copies on windows 98. I'm trying to check the process list to determine if it is already running. So far all the example win32 routines I've...
3
by: Billg_sd | last post by:
Is there a programatic way in VB.NET to determine if a specific process is running? During an app update, I need to check if the component I'm about to replace is running. In UNIX I'd use: PS |...
1
by: Rainer Worbis | last post by:
How is it possible to get the user thats running a process retrieved by System.Diagnostics.Process.getProcesses() ? Rainer
1
by: JezB | last post by:
I want to iterate the process list looking at the processes running for the current user. So I'm using: foreach (Process p in Process.GetProcesses()) { } But I can't see any method or...
2
by: B.N.Prabhu | last post by:
In my web application(C#) . I am adding one excel sheet and then save and closing that excel file. In the finally bloack i gave Marshal.ReleaseComObject(clsExcel); But when i go and see in the...
0
by: Asad Asad | last post by:
Sir, How can I display processes (currently runing on my PC) in a list box control, in Visual Basic 6.0
2
by: cnsabar | last post by:
Hi., I am using the following code to terminate the any process by giving the process name as input... use Win32::Process::List; use Win32::OLE; $Win32::OLE::Warn = 3; $P =...
0
by: cnsabar | last post by:
Hi., I need a Perl script to terminate the any running process in server. by specifying computer name and process name.. I have the following code to terminate the any process by specifying...
0
by: dogatemycomputer | last post by:
I'm new to C#. I am using the following C# method to populate a TreeView control. If you call this method once during the life of form then it works perfectly. If you call the method a second...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.