I am trying to get just the version number from a registry key and it is proving to be very hard. I have this code which works but it will give me the following:
All I want is the 5.9.0.21 and I don’t want to have to use regular expressions etc… can’t you search for a Display Name and get just the version number from the registry?
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.