GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
'Reset all to defaults' button not work in WindowsXP


https://support.genopro.com/Topic29070.aspx
Print Topic | Close Window

By Alex - Monday, October 10, 2011
Narrative_2011.10.06
I noticed that Reset button works in Windows7 and does not works in WindowsXP.
All my changes of configuration parameters are saved every time.
And after use Reset button this message appears:

http://support.genopro.com/Uploads/Images/e97453bf-7560-4f8b-81fc-bf45.JPG

but in this case configuration parameters are not reset in Register (WindowsXP only).
By genome - Monday, October 10, 2011
Not sure what is happening here as it works OK on my Windows XP. Can you please confirm using regedit  that after reset the key 'HKEY_CURRENT_USER\Software\DanMorin.com\GenoPro\SkinConfiguration\English Narrative Report' is present in the registry and still has entries within it.

It is also possible to store Configuration Partameters within a .gno as GenoPro 'Document' Custom Tags, is it possible that you have values stored in this way?
By Alex - Wednesday, October 12, 2011
I have removed GenoPro and all keys 'HKEY_CURRENT_USER\Software\DanMorin.com\'.

Then I have Installed program once again. Result did not change.
See pictures:
1. After Installing the program.
2. After making the report (Narrative_2011.10.06 with changed configuration parameter).
3. After use the Reset button.
Report was created for blank .gno file.
I do not use Custom Tags.
http://support.genopro.com/Uploads/Images/a1b309a5-7f0c-4bd4-8858-e1d3.jpg

http://support.genopro.com/Uploads/Images/63515e3a-e670-49af-84c9-7c59.jpg

http://support.genopro.com/Uploads/Images/ac6bab0d-8390-48af-ae98-4f78.jpg
By genome - Wednesday, October 12, 2011
Thanks for the feedback Alex.  Could you please try replacing the Init.htm file in the skin with the attached file.  This should hopefully provide some additional information on the error that you are experiencing,  Thank you.

Update: attachment removed
By Alex - Thursday, October 13, 2011
After replace the Init.htm file and use the Reset button appears message:
"Warning: No saved Configuration Parameters found!"
By genome - Thursday, October 13, 2011
Hmmm, I wonder if your version of WSH is different to mine. The script attempts to read the default value for the key to check if saved values are present. I have googled the problem and there is some evidence that RegRead returns an error when a key has no default value although I cannot reproduce this problem. 

I have now changed Init.htm to set a default of date/time whenever a key is added/changed. Hopefully this will resolve the problem. Could you please try the attached Init.htm?
By Alex - Friday, October 14, 2011
Again message "Warning: No saved Configuration Parameters found!"... 
By genome - Sunday, October 16, 2011
Ok, one last stab at this before I give up!  Then you will need to use brute force via regedit to delete 'English Narrative Report' key if you want to reset. w00t

This time I am using a named value 'Updated' to indicate saved values present rather than using a default value for the key.  This will only work if values are saved with the new Init.htm attached as otherwise the 'Updated' named value will not be present.

p.s. I am using WSH 5.7 on XP. (Check version in Properties of wscript.exe in %WINDIR%\system32)
By Alex - Monday, October 17, 2011
Presently this works in Windows XP and in Windows 7.
Thank you Ron!

(In Windows XP I have wscript.exe v.5.6.0.8820)