datskat Posted May 10, 2005 Posted May 10, 2005 get error 1 when trying to read registry values (worked ok using version 3.1.1.0) $reg_value = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","MSMSGS") MsgBox (0,"Tester","Error: " & @Error & @CRLF & "Reg value: " & $reg_value )
jpm Posted May 10, 2005 Posted May 10, 2005 get error 1 when trying to read registry values (worked ok using version 3.1.1.0) $reg_value = RegRead("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","MSMSGS") MsgBox (0,"Tester","Error: " & @Error & @CRLF & "Reg value: " & $reg_value )<{POST_SNAPBACK}>does not work under 3.1.1 and XP/SP2 check with regedit if the value is really defined.
datskat Posted May 10, 2005 Author Posted May 10, 2005 does not work under 3.1.1 and XP/SP2 check with regedit if the value is really defined. <{POST_SNAPBACK}>Running on win2k, have checked that reg key/value is defined. If i run this script using prod version of autoit (v3.1.1.0) works ok, if i run using autoit beta (v3.1.1.26) it fails
jpm Posted May 10, 2005 Posted May 10, 2005 Running on win2k, have checked that reg key/value is defined. If i run this script using prod version of autoit (v3.1.1.0) works ok, if i run using autoit beta (v3.1.1.26) it fails<{POST_SNAPBACK}>Do you have access to an XP version? If yes can you check it fail too.Thanks for your cooperation.
Developers Jos Posted May 10, 2005 Developers Posted May 10, 2005 Do you have access to an XP version? If yes can you check it fail too.Thanks for your cooperation.<{POST_SNAPBACK}>JPM, see my other post in the 3.1.1+ as reply to LOULOU..There really is an issue with RegRead on Win2K.it returns nothing with @error = 1 when used wiith ver 3.1.1.25 ... and is working fine with 3.1.1 .....Don't have the option to debug ... SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past.Â
LOULOU Posted May 10, 2005 Posted May 10, 2005 JPM, see my other post in the 3.1.1+ as reply to LOULOU..There really is an issue with RegRead on Win2K.it returns nothing with @error = 1 when used wiith ver 3.1.1.25 ... and is working fine with 3.1.1 .....Don't have the option to debug ...<{POST_SNAPBACK}>JPM gives me a new AutoIt3.exe installing in beta version which solve two problem :- The problem of regread - and the problem of date udfBoth works well on Windows 2000 SP4I say to JPM that's all is good but i have no answering.
Helge Posted May 10, 2005 Posted May 10, 2005 I tested it here, and it fails with version 3.1.1.26 but when tested with 3.1.1 there were no problems. Tested under Windows 2000 Pro SP4..
jpm Posted May 10, 2005 Posted May 10, 2005 JPM gives me a new AutoIt3.exe installing in beta version which solve two problem :- The problem of regread - and the problem of date udfBoth works well on Windows 2000 SP4I say to JPM that's all is good but i have no answering.<{POST_SNAPBACK}>You have no answer because I am still looking to the final solution which will allow to access the 64-bit registrySorry for the trouble
LOULOU Posted May 10, 2005 Posted May 10, 2005 You have no answer because I am still looking to the final solution which will allow to access the 64-bit registrySorry for the trouble <{POST_SNAPBACK}>No trouble JPM you are very kindly to do what you do
Holger Posted May 10, 2005 Posted May 10, 2005 @JPM: sent you a small function I used in march for a macro to detect Win64 (maybe you remember it...) So you could maybe find it usefull Regards Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
jpm Posted May 10, 2005 Posted May 10, 2005 @JPM: sent you a small function I used in march for a macro to detect Win64 (maybe you remember it...)So you could maybe find it usefull RegardsHolger<{POST_SNAPBACK}>Thanks it will be very useful
datskat Posted May 11, 2005 Author Posted May 11, 2005 RegRead() function works great on win2k - SP4 using autoit version 3.1.1.27. Much thanks to jpm
jpm Posted May 11, 2005 Posted May 11, 2005 RegRead() function works great on win2k - SP4 using autoit version 3.1.1.27. Much thanks to jpm <{POST_SNAPBACK}>Thanks to you for pointing out the problem. I am runnining under XP and the pb was not occuring We need help as you fellow beta tester
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now