Click to See Complete Forum and Search --> : My Registry fix
nos
Jun 25th, 2003, 10:54 AM
Hey there :)
I want to make this registry edit to a program called TightVNC, so that the server icon does not appear in the system tray when deployed. I have the following code in a file called "fix.reg"
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3\DisableTrayIcon= DWORD "1"]
What I wanna do is add a DWORD to the folder WinVNC in the registry, but the above line adds a 'key' to it. How do I add a DWORD to a folder?
Danial
Jun 30th, 2003, 05:17 AM
First of all you should have asked this question in "General PC" forum.
Anyhow, Create the key manually if its not already created.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3 and right click on the empty space on the right hand side of the window and choose DWORD. That should add a dword value.
http://www.vbforums.com/attachment.php?s=&postid=1471410
Hope this helps.
Danial
nos
Jul 1st, 2003, 04:24 AM
:) dude if u read my post again, it says that I have a file called 'fix.reg' with some code in it. What I actually want to do is make a registry "file" which would add a DWORD to a particular key. In this way I can send this registry file to my friend and all he has to do is double click the file and it would automaticaly modify the registry without even opening the registry editor.
Anywayz ... I found out the way to do it, its just for convenience sake u see :p
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3]
"DisableTrayIcon"=dword:00000001
U put the above code in a file named *.reg and when u double click it, it will automatically add a DWORD to an existing ORL, WinVNC key.
Thanks for your help ... (thumbsUP)
adio ....
alex_read
Jul 5th, 2003, 03:03 AM
for another time, or if anyone else searches back though this post later on, you could have added the key manually as above, then highlighted it in regedit & chosen the file>export key menu to export the above script to a *.reg file...
nos
Jul 5th, 2003, 05:35 AM
^^ Well that's what happened actually. I wanted to create a backup of my registry inc ase anything went wrong and so I did. Later, when I looked through the backup registry file, I got the answer to my question :P
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.