Results 1 to 5 of 5

Thread: My Registry fix

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    \root
    Posts
    32

    Question My Registry fix

    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?
    ** Praise none, but the CREATOR **
    ---------------------
    T-break SUX

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    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.



    Hope this helps.

    Danial
    Attached Images Attached Images  
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    \root
    Posts
    32
    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


    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 ....
    ** Praise none, but the CREATOR **
    ---------------------
    T-break SUX

  4. #4
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2002
    Location
    \root
    Posts
    32

    My Registry Fix [Resolved]

    ^^ 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
    ** Praise none, but the CREATOR **
    ---------------------
    T-break SUX

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width