Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: How to code registry modifier (logic wise)?  (Read 6125 times)

0 Members and 1 Guest are viewing this topic.

ultimatum

    Topic Starter


    Intermediate
  • Thanked: 3
    How to code registry modifier (logic wise)?
    « on: April 28, 2009, 07:02:06 PM »
    I am about to finish my first year learning programming, so basics are covered in C#. I would like to code a registry modifying application, but I don't know how to! I'll be able to find the file but that's about it.

    Can someone kind of lay out the logic steps to entering the registry file and how to modify a value?

    Thanks in advance.
    Its not what you know, its what you can do that counts!

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: How to code registry modifier (logic wise)?
    « Reply #1 on: April 28, 2009, 07:16:33 PM »
    ... registry modifying application....
    ... the logic steps to entering the registry...
    We wish you the best. But what you have is know as a
    Programming Paradox.

    Common usage makes if difficult to put Logic and Registry in the same paragraph. Or page. If it follows logic, it would not be part of the Windows Registry. That is why the Registry exists, to deal with things that do not follow logic which is brother of reason.
    Anyway, look here:
    http://support.microsoft.com/kb/136393

    Of course, I could be wrong.
    That conclusion needs logic and reason.




    ultimatum

      Topic Starter


      Intermediate
    • Thanked: 3
      Re: How to code registry modifier (logic wise)?
      « Reply #2 on: April 28, 2009, 08:13:36 PM »
      Interesting, I guess it makes sense. Overall I know how to modify registry myself. Thanks for clearing this out.
      Its not what you know, its what you can do that counts!

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: How to code registry modifier (logic wise)?
      « Reply #3 on: April 28, 2009, 08:17:07 PM »
      Quote
      Common usage makes if difficult to put Logic and Registry in the same paragraph. Or page. If it follows logic, it would not be part of the Windows Registry. That is why the Registry exists, to deal with things that do not follow logic which is brother of reason.
      Anyway, look here:

      ???




      what?


      Please explain.
      I was trying to dereference Null Pointers before it was cool.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: How to code registry modifier (logic wise)?
      « Reply #4 on: April 28, 2009, 08:41:48 PM »
      ???
      what?
      Please explain.

      HI BC
      Can you give me a recommendation as  to what source material one would study for the Windows Registry. VISTA preferably.
      Try Amazon or Barns & Noble and search Windows VISTA registry.

      Let me know which is the logical, book of reason and I will get it and read.
      If it is logical, reasonable and mostly complete,
      I will eat my tail feathers. (With salt.)

      And if nobody has yet to write such a guide, I rest my case.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: How to code registry modifier (logic wise)?
      « Reply #5 on: April 28, 2009, 09:04:10 PM »
      the fact that there is no guide is because it's simply a heirarchal tree structure. There is nothing illogical or without reason about it- it's a central storage repository for settings.


      The thing is- it really didn't matter what MS had done- if they had, for example, stayed with INI files, then everybody would be complaining about that.
      I was trying to dereference Null Pointers before it was cool.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: How to code registry modifier (logic wise)?
      « Reply #6 on: April 28, 2009, 09:52:21 PM »
      Quote
      There is nothing illogical or without reason about it- it's a central storage repository for settings.
      I was hoping you would recommend some light reading.
      Well, the TS wanted to have a simple guide. Or a step by step. As far as I know the Registry does not give you an error message if you do something dumb. Here is something anybody can try. Modify the drive letter of your boot partition. Make if , say D: or E: instead of C: because it is only a setting, not an absolute reference. -Right?
      Here is a step by step:
      http://www.petri.co.il/change_system_drive_letter_in_windows_xp.htm

      Also, notice the links he gives at the end of the article. Must read.

      For some strange reason MS recommends that your make a backup of the registry.  Is that logical? If it is, why don't people do it?


      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: How to code registry modifier (logic wise)?
      « Reply #7 on: April 28, 2009, 09:55:17 PM »
      Quote
      For some strange reason MS recommends that your make a backup of the registry.  Is that logical? If it is, why don't people do it?

      people often won't back-up their own work. Only very dutiful users back-up their computer's work.


      Quote
      I'll be able to find the file

      does this mean you want to literally open the DAT files and try to parse their contents?


      I was trying to dereference Null Pointers before it was cool.