Results 1 to 11 of 11
  1. #1
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Western NY, USA
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Registry Entries (XP, SP2)

    I exported a regfile and changed it. I then double clicked it. A message told me the data was entered. I went to regedit, refreshed (F5) but the change was not there.

    I want to periodically update the following.
    [HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_DevSuiteHome3]
    "FORMS_PATH"=

    I though a reg file would be the easiest way.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Registry Entries (XP, SP2)

    What do you want to do? Clear the FORMS_PATH entry (i.e. set it to an empty string) or delete the entry from the registry?

  3. #3
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Registry Entries (XP, SP2)

    Just a swag, but if you reboot is it still not changed?

  4. #4
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Western NY, USA
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Registry Entries (XP, SP2)

    I want to update it. Basicaly I want two reg files and I want to swap between config 1 and config 2

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Registry Entries (XP, SP2)

    Does it work better if you use
    <code>
    "FORMS_PATH"=""</code>

  6. #6
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Western NY, USA
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Registry Entries (XP, SP2)

    I rebooted and it did not make any differenct

  7. #7
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Western NY, USA
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Registry Entries (XP, SP2)

    I found it, thanks. I simplified it to the following and it worked. Next I typed in the paths I needed, one at a time. I have no Idea what I big fingered when I change the exported reg file, but I must have been consistent, because I started over more than once.

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_DevSuiteHome3]
    "FORMS_PATH"="Value1"

    _____________________________
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_DevSuiteHome3]
    "FORMS_PATH"="Value2"

    ___________________________________

    Thanks for your help

  8. #8
    4 Star Lounger
    Join Date
    Feb 2004
    Location
    Saint Charles, Missouri, USA
    Posts
    565
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Registry Entries (XP, SP2)

    I think Hans is on the right track in <!post=Post: 718458,718458>Post: 718458<!/post> ...

    When editing registry values you have to specify an actual value in side double quotes, or as a type of data (ex DWord).

    Following is an example I used fro the SnapToDisable:
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USERControl PanelMouse]
    "SnapToDefaultButton"="0"

    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVe rsionPoliciesExplorer]
    "NoSaveSettings"=dword:00000000


    NOTE:BigAL is also correct, registry changes go into effect at time computer is booted up. The ENTIRE Registry file is read/processed at time of bootup.

    HTH
    Scott

  9. #9
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Registry Entries (XP, SP2)

    > registry changes go into effect at time computer is booted up

    Sorry, but I have to disagree with that as a general statement.

    Many registry changes are effective immediately. Many applications retrieve registry settings each time they need them.
    Other applications read registry settings when they are started, so you should make sure that the application is not active when you apply a change.
    And yes, there are Windows-level registry settings that only become effective after a reboot.

  10. #10
    4 Star Lounger
    Join Date
    Feb 2004
    Location
    Saint Charles, Missouri, USA
    Posts
    565
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Registry Entries (XP, SP2)

    <img src=/S/bummer.gif border=0 alt=bummer width=15 height=15> I should REALLY not post when I am tired due to <img src=/S/nosleep.gif border=0 alt=nosleep width=27 height=15>.

    You are correct about my comment as a general statement. It really depends on the application using the registry setting. If the application is running, you may have to close the application and re-start the application for the changes to take effect.

    Some changes using Microsoft utilities will process the change as soon as you click the Apply. Some will require re-booting the machine.

    In Cecil's original message concerning Oracle's path, I believe this does require re-booting the machine based on similar type changes I have made to an Microsoft SQL data base path. Although those changes were batch file based on which user was accessing the database for changes.

    Good catch.
    Scott

  11. #11
    2 Star Lounger
    Join Date
    Mar 2002
    Location
    Western NY, USA
    Posts
    157
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Registry Entries (XP, SP2)

    Now that I have this working, I can say that the effect takes effect immediately. I do not have to restart the computer or the application. When I open a new project, it reads the registry.

Posting Permissions

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