Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.
If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.
03-26-2007 04:41 PM
03-26-2007 11:49 PM
It seems to me that you are duplicating part of the key address: since you have put REGKEY_HKLM as the first parameter, you do not need to start key address with HKEY_LOCAL_MACHINE which doubles this information. With this string the instruction is searching for a key addressed as HKEY_LOCAL_MACHINE\HKEY_LOCAL_MACHINE\SYSTEM\.... ![]()
Regarding your second question, you can simply place this part of the string inside a configuration file or some key in the registry (I normally use HKEY_LOCAL_MACHINE\Software\CompanyName\ProgramName key for these informations) and build up the final string with some fixed parts and this variable part, to be filled up only once manually after discovering its exact value in the actual machine the application is running.
03-27-2007 08:25 AM
Thanks for the feedback.
Regarding determining the string. When this application is deployed I can not request the user to determine the string. I believe this is what you were suggesting doing?
I am correct or can this be determined on the fly by the program?
03-27-2007 09:58 AM - edited 03-27-2007 09:58 AM
Message Edited by Roberto Bozzolo on 03-27-2007 04:59 PM