473,499 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

information on processes

ngr
I need to be able to find out which user started a particular process.
I need to know what user is running an instance of an application I am
writing.

It is possible in my environment to have more than one user running the same
program.

I have an application which will run on a citrix running Terminal Services.
In short this means that the users do not run a local copy of the program on
their PC, but run the program on the server - they only have a terminal to
the area on the server.

It's a bit like a UNIX box really, where there can be more than one user in
the system at any one time.
If two users are running the same program, then this is fine, but if one
user tries to open two sessions of the same program I have to trap this.

Bear in mind that this is NOT a program on different PCs. It is a server
that has workareas where several copies of the program are run by different
users.

If anyoune can direct me (VB.NET 2005) as how to retrieve user information
on a process I would be grateful.

Thanks in advance for any feedback
Jan 29 '07 #1
1 918
Citrix and Terminal Services will allow each user to spawn applications they
have access just as if they were working locally. Take a look at the
system.runtime namespace and WMI. Bear in mind that you will need elevated
privledges to query process information.

Also bear in mind that a user can have multiple sessions on the server and
potentially the same application running more than once, of course this is
configurable on the server.

"ngr" <ng*@tdrd.karoo.co.ukwrote in message
news:bY******************************@eclipse.net. uk...
>I need to be able to find out which user started a particular process.
I need to know what user is running an instance of an application I am
writing.

It is possible in my environment to have more than one user running the
same program.

I have an application which will run on a citrix running Terminal
Services.
In short this means that the users do not run a local copy of the program
on their PC, but run the program on the server - they only have a terminal
to the area on the server.

It's a bit like a UNIX box really, where there can be more than one user
in the system at any one time.
If two users are running the same program, then this is fine, but if one
user tries to open two sessions of the same program I have to trap this.

Bear in mind that this is NOT a program on different PCs. It is a server
that has workareas where several copies of the program are run by
different users.

If anyoune can direct me (VB.NET 2005) as how to retrieve user information
on a process I would be grateful.

Thanks in advance for any feedback


Jan 29 '07 #2

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

Similar topics

3
4243
by: K.S.Liang | last post by:
Hi all, 1> If there are more than one dynamic linking libraries in the file system, how do I know which one is loaded into system? Any C library or system call can tell me which *.so or *.sl is...
9
23053
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
2
7400
by: Kumar | last post by:
Hi Folks, I would like to develop one custom application using asp.net,C#,SQL server for tracking all our company servers. Most of the functionality is similar to HP Systems Insight Manager ...
2
4872
by: NiponW | last post by:
Hi, I have SQL SERVER 2000 SP4 Enterprise , Windows 2003 Enterprise on Xeon 4 Processors (now with multi-threading CPU) and I have questions which seem weirds to me (used to have the same...
35
3979
by: Carl J. Van Arsdall | last post by:
Alright, based a on discussion on this mailing list, I've started to wonder, why use threads vs processes. So, If I have a system that has a large area of shared memory, which would be better? ...
0
921
by: kissii | last post by:
Hi , i am new to VB. I want to know what are the processes running in system. what i am thinking is if i can get how to access system tray information, i can get all the processes/services...
3
2630
by: adimangla | last post by:
Hi :-) I am creating a software that will save the present state of all the applications running on the desktop (WinXP). Can anyone point out the method to extract the filenames from the...
1
3543
by: jazon | last post by:
Let me start by saying this for an Operating Systems class. No, I don't expect the work to be done for me. The assignment is as follows: To be honest, I feel like a fish out of water, like...
1
1225
by: krishna1411 | last post by:
hi buddies, any one can help me out ,how can we find current running processes information in unix using C program Regards krishna
1
6359
by: jadeite100 | last post by:
Hi All: I installed oracle report server 10.1.2.02 I tried the following url and it display the page properly that ask Test run Job: http://xxx/reports/rwwebservice?operation=runJob When I...
0
7174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6894
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
7388
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...
0
5470
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
297
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.