Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Accesing Strings from the WHOLE registry without plugin!

Author
Message
MadrMan
19
Years of Service
User Offline
Joined: 17th Dec 2005
Location: 0x5AB63C
Posted: 5th Mar 2006 19:31
Here you go

have fun with it
< Paths appear with a \\ instead of \ >
useage:
a$=getreg$("HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\Diablo II","Save Path")

oh and sorry for not making it TOO fast



we'll all turn mad someday..
MadrMan
19
Years of Service
User Offline
Joined: 17th Dec 2005
Location: 0x5AB63C
Posted: 6th Mar 2006 16:09 Edited at: 6th Mar 2006 17:20
<edit>

we'll all turn mad someday..
MadrMan
19
Years of Service
User Offline
Joined: 17th Dec 2005
Location: 0x5AB63C
Posted: 6th Mar 2006 16:14 Edited at: 6th Mar 2006 17:23
function to change all the "\" back to "" (dont mind the last post i just found the edit button )


we'll all turn mad someday..
MadrMan
19
Years of Service
User Offline
Joined: 17th Dec 2005
Location: 0x5AB63C
Posted: 6th Mar 2006 17:16
So.. i dedicided to help out with this abit more

use this to change/add strings to registry!
You can use this on ANY place in the registry, not only local user.

Example: writereg("HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\Diablo II","DiabloIICD","I:")

to change the '(default)' key use a blank key ""

if the string value entered is a path, use a double slash \\, or change the code posted one post above this



Please let my now if it works for you all and let me know what you think of it

we'll all turn mad someday..
MadrMan
19
Years of Service
User Offline
Joined: 17th Dec 2005
Location: 0x5AB63C
Posted: 11th Mar 2006 15:04
no replies?

we'll all turn mad someday..
Matt W
19
Years of Service
User Offline
Joined: 4th Mar 2006
Location:
Posted: 11th Mar 2006 15:16
Nice! I've seen quite a few people wondering if there was registry editing functionality, even with .dll's

I don't think that you've got many replies because the Code Snippets board isn't as popular as others are.

Login to post a reply

Server time is: 2025-05-15 16:04:11
Your offset time is: 2025-05-15 16:04:11