Community discussion forum

Registry

This is a comment thread discussing Registry
  • 9 years ago

    This thread is for discussions of Registry.

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 6 years ago
  • 6 years ago

    SaveSetting and Gettstting are very fine, but i want to access an registry key not stored with SaveSetting.
    (and not in this VBA ...  folder.


    How can i do this?

  • 6 years ago

    Dear Sir


       I used this  fuction it's very good . But can i save my value in some other
       foler other than Vb application Folder...


    Umesh Bardale
    ubardale@yahoo.com

  • 6 years ago

    Yes I tried this too, but you can't access anything outside the VB Registry and the User Restry. How do you access things in the Root or under HKEYLOCALMACHINE\SOFTWARE


    ? ? ?



  • 6 years ago

    You need to use Windows API (see http://www.developerfusion.com/show/1857/)

  • 6 years ago

    How do you stope the pause after a keypress? For Example, if you have a game where the arrow key's are used and the player is walking by holding down the arrow key, the player will walk a step, pause then continue walkking.


    You can test this by opening note pad and hit any key and hold down... notice the pause that occurs be for the key is repeated:


    a aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
     ^-Simulated pause


    Thanks in advance for any leads!


    -DalePeach

  • 5 years ago

    This isn't quite the best place for your question. Anyway, I would do it like this:
    On keydown, set movement to Up.
    On keyup, set movement to None.
    Then when you press the key, the player moves up, and when you release it they stop. The repeat won't have any effect.

  • 5 years ago

    this will create a key under hkeylocalmachine\software
    named MyFirstKey
    and under that key it will set the default subkey to equal c:\progran files\my
    and create another key called Example with the value of 1


     'Get RegEdit.Server object
     Set S = CreateObject("RegEdit.Server")
     
     'Get a key
     Set Key = S.GetKey("HKLM\SOFTWARE")
     
     'Add a new key
     Set MyKey = Key.CreateKey("MyFirstKey")
     'or Set MyKey = Key.SubKeys.Add("MyFirstKey")
     
     'Set String and DWORD values
     MyKey.Values("") = "C:\Program Files\My"



     S.GetKey("HKLM\SOFTWARE\MYFIRSTKEY").Values("Example")="1"


    Does anyone know how to set a Dword value in the registry??


     Hope this helps

Post a reply

Enter your message below

Sign in or Join us (it's free).