patufet_99 Posted September 1, 2010 Report Share Posted September 1, 2010 Hello, I would like to install and run on a Windows 7 PC an application built on my developpement PC (LabVIEW 8.5.1 under XP). I had some problems with the front panel fonts solved as described on another post by adding on the .ini file: appFont="Tahoma" 13dialogFont="Tahoma" 13systemFont="Tahoma" 13 The data acquisition works normally. The program should open some acquired data directly on OpenOffice scalc. To do that it looks on the registry the Path of scalc. There seems to be some problems accessing the registry: The vi "Open Registry Key.vi" working normally on XP returns a -604 error on Windows 7. Any hints? Thank you. Quote Link to comment
ShaunR Posted September 1, 2010 Report Share Posted September 1, 2010 (edited) Hello, I would like to install and run on a Windows 7 PC an application built on my developpement PC (LabVIEW 8.5.1 under XP). I had some problems with the front panel fonts solved as described on another post by adding on the .ini file: appFont="Tahoma" 13dialogFont="Tahoma" 13systemFont="Tahoma" 13 The data acquisition works normally. The program should open some acquired data directly on OpenOffice scalc. To do that it looks on the registry the Path of scalc. There seems to be some problems accessing the registry: The vi "Open Registry Key.vi" working normally on XP returns a -604 error on Windows 7. Any hints? Thank you. Error -604 is "Access Denied". Its probably the UAC (User Account Control) which was first introduced in Vista and consequently first disabled in Vista . Try disabling UAC and see if that helps. Disabling UAC Edited September 1, 2010 by ShaunR Quote Link to comment
Shaun Hayward Posted September 1, 2010 Report Share Posted September 1, 2010 You could also try opening the registry key in read-only mode - A lot of HKLM is read-only to regular users (without UAC elevation) and if your just reading a path this shouldnt be an issue. One of the inputs to the open registry key gives you an enum with things like read-key, write-key, etc - choose the one that looks the most like "read only" (I dont have a windows + LV machine around right now) Quote Link to comment
ShaunR Posted September 1, 2010 Report Share Posted September 1, 2010 You could also try opening the registry key in read-only mode - A lot of HKLM is read-only to regular users (without UAC elevation) and if your just reading a path this shouldnt be an issue. One of the inputs to the open registry key gives you an enum with things like read-key, write-key, etc - choose the one that looks the most like "read only" (I dont have a windows + LV machine around right now) KEY_READ Quote Link to comment
crelf Posted September 1, 2010 Report Share Posted September 1, 2010 Also, some resigtry keys are in different places between the different OS's - if you're using absolute paths to your keys you ight run in to trouble. Quote Link to comment
patufet_99 Posted September 1, 2010 Author Report Share Posted September 1, 2010 You could also try opening the registry key in read-only mode - A lot of HKLM is read-only to regular users (without UAC elevation) and if your just reading a path this shouldnt be an issue. One of the inputs to the open registry key gives you an enum with things like read-key, write-key, etc - choose the one that looks the most like "read only" (I dont have a windows + LV machine around right now) Hello, thank you very much for your reply. The "security access mask" vi control was by default at "KEY_READ | KEY_WRITE". Changing this control to "KEY_READ" solves the problem. Regards. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.