• Post Reply Bookmark Topic Watch Topic
  • New Topic

Access Program Names from Windows Registry  RSS feed

 
Patrick Boos
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am trying to access the display name of all programs that begin with the letter “A” from the Windows Registry. I am stuck. I cannot seem to return any values. Does anyone have any pointers that they can offer? Here is my code:



Thank you for any assistence.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't fully undersatnd what the use of reflection is supposed to accomplish, but I was always under the impression that the Preferences API can not access arbitrary Windows registry entries, but only very specific areas of it. For anything else, JNI (or native tools) must be used: How to read the Windows Registry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!