Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Is there a way to have a form event check the version of software on the PC
eg.
I want to know the version of NetBeans and others on my PC by program


What can i do?
I'm begineer.

Please Help me!!!
:(
Posted
Comments
Toli Cuturicu 7-Mar-11 15:27pm    
Why an event??

System.Diagnostics.FileVersionInfo finfo = System.Diagnostics.FileVersionInfo.GetVersionInfo(fullFilePath);
 
Share this answer
 
The information for registered programs is held in the system registry under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall. Take a look at this article[^] for some information on how to access the registry.
 
Share this answer
 
Try this [ click ]
 
Share this answer
 
v3
Comments
Ryan Zahra 7-Mar-11 4:56am    
I think you forgot the link :p
Raj.rcr 7-Mar-11 4:57am    
Now check..
Ryan Zahra 7-Mar-11 5:02am    
That code is getting the installed software, however its not getting the file version...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900