ofern01
asked on
How can I Detect software installed in a client machine
VS2005
I have a Form that Requires the user to have a couple of applications installed. Is there a way for me to detect if the application is install at the client? is there a way for me to detect if the application is running?
I'm open to any anything to resolve this, so anything will be very helpfull
Thanks....
I have a Form that Requires the user to have a couple of applications installed. Is there a way for me to detect if the application is install at the client? is there a way for me to detect if the application is running?
I'm open to any anything to resolve this, so anything will be very helpfull
Thanks....
To detect if the application is running, you can use the Process class's GetProcessesByName() method
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.getprocessesbyname(VS.80).aspx
http://msdn.microsoft.com/en-us/library/system.diagnostics.process.getprocessesbyname(VS.80).aspx
ASKER
This Looks fine for a Windows app, but It will not work for a client. My app is a web app (ASP.NET). Do you have anything for doing this but on the client side?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
But still I have to depend on the client to allow this to access the register.
Is there anything else that allows me to check for a program installed on the client. maybe using javascript?
If there is nothing, How are handling this so that it does not crash?
Is there anything else that allows me to check for a program installed on the client. maybe using javascript?
If there is nothing, How are handling this so that it does not crash?
ASKER
Anything else?
Note: some programs do not have a displayName. but most valid software tools do.
In the program below, the disName is what you want to look at.
I have added 2 columns to a listview in the GUI, and set the properties:
listview1.view=details
etc
but you may as well use a listbox or textbox...
cheers
Open in new window