Registry Editing via Code.

Mikirin
06-21-2001, 08:44 AM
I have followed the examples on the MSDN Site, for editing existing registry keys, but my program is NOT changing them.

After i run the program with some hard coded values to change, the changes do not show up in the reg, but i get no error during runtime.

e.g. SetKeyValue "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup", "orientation", vPaperOrientation, 1

where vPaperOrientation is an Integer value, 1 or 2 (Portrait or Landscape)


AM i doing something wrong? I will post the bulk of the code upon request, but its a bit much to post for the initial question, i think.

Thanks,
Dave

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum