Thread: Windows Registry

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Windows Registry 
    0x2P | ~0x2P
    Google rapes bing's Avatar
    Join Date
    May 2013
    Posts
    595
    Thanks given
    120
    Thanks received
    62
    Rep Power
    0
    Hello people, This is a tutorial on the windows registry with implementation of a registry in java or more than one registry.
    First download the jar -> jRegistryKey | SourceForge.net
    Code:
    package registry;
    
    import ca.beq.util.win32.registry.RegistryKey;
    import ca.beq.util.win32.registry.RegistryValue;
    import ca.beq.util.win32.registry.RootKey;
    import ca.beq.util.win32.registry.ValueType;
    
    public class JRegistry {
    public JRegistry(){
    	RegistryKey.initialize();
    	RegistryKey r= new RegistryKey(RootKey.HKEY_CURRENT_USER, "Software\\Something");
    	r.create();
    	RegistryValue v = new RegistryValue("Test",ValueType.REG_DWORD, 0x00000001);	
    	
    	r.setValue(v);
    }
    public static void main(String[] args){
    	new JRegistry();
    }
    }
    This would create "Test" as the name and create the registry as "Something".
    To check if this works go to C:\Windows\System32/regedt32.exe
    This is the windows registry that stores computer data and other things that programs store in.
    You can also check if a virus such as Backdoor Agents is running on your computer on start up.
    The Windows Registry is a very powerful tool.
    WARNING: Do not play with the Windows Registry unless you know what you know what your doing.
    You can remove your task manager from your computer or even your windows registry access.
    If you can remove your registry from your computer then good luck trying to get it back.

    If you have any questions or anything message me or comment down below.

    P.S. you can also delete/remove it from the registry if you want.

    Enjoy.

    Reply With Quote  
     

  2. #2  
    fumant viriditas quotidiana

    saifix's Avatar
    Join Date
    Feb 2009
    Age
    30
    Posts
    1,237
    Thanks given
    275
    Thanks received
    957
    Rep Power
    3304
    rep-- to increase awareness of not using platform specific code in java for a problem which has other solutions
    "Im so bluezd out of my box.
    Im so fkd i canr even sens makeas Smoke blunt 420hash e tizday" - A legendary guy (1993 - 2015)
    Quote Originally Posted by nmopal View Post
    I will be creating a grimy dubstep song using these lyrics and vocaloid please prepare your bodies
    Reply With Quote  
     

  3. Thankful users:


  4. #3  
    ಠ_ಠ

    Joshua's Avatar
    Join Date
    May 2010
    Posts
    1,903
    Thanks given
    397
    Thanks received
    708
    Rep Power
    803
    Quote Originally Posted by saifix View Post
    rep-- to increase awareness of not using platform specific code in java for a problem which has other solutions
    The hero r-s deserves
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Jan 2015
    Posts
    2
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    absolutely zero reason to ever introduce the windows registry to Java

    not to mention JNA does this much better then using some library specifically built for the purpose
    Reply With Quote  
     

  6. #5  
    0x2P | ~0x2P
    Google rapes bing's Avatar
    Join Date
    May 2013
    Posts
    595
    Thanks given
    120
    Thanks received
    62
    Rep Power
    0
    Quote Originally Posted by saifix View Post
    rep-- to increase awareness of not using platform specific code in java for a problem which has other solutions
    This is just one solution not the best but not the worst. If you have a better solution please comment, I am very interested. Why not learn something new from someone than that person keeping it from himself.

    rep-- for you sir for not explaining why.
    Reply With Quote  
     

  7. #6  
    Registered Member

    Join Date
    Nov 2013
    Posts
    153
    Thanks given
    62
    Thanks received
    27
    Rep Power
    77
    Quote Originally Posted by Google rapes bing View Post
    This is just one solution not the best but not the worst. If you have a better solution please comment, I am very interested. Why not learn something new from someone than that person keeping it from himself.

    rep-- for you sir for not explaining why.
    you can't rep-- tho
    Reply With Quote  
     

  8. Thankful users:


  9. #7  
    0x2P | ~0x2P
    Google rapes bing's Avatar
    Join Date
    May 2013
    Posts
    595
    Thanks given
    120
    Thanks received
    62
    Rep Power
    0
    Quote Originally Posted by Samuel View Post
    you can't rep-- tho
    if I could I would.
    Reply With Quote  
     

  10. #8  
    fumant viriditas quotidiana

    saifix's Avatar
    Join Date
    Feb 2009
    Age
    30
    Posts
    1,237
    Thanks given
    275
    Thanks received
    957
    Rep Power
    3304
    java.util.Properties do you not know what the registry is or something
    "Im so bluezd out of my box.
    Im so fkd i canr even sens makeas Smoke blunt 420hash e tizday" - A legendary guy (1993 - 2015)
    Quote Originally Posted by nmopal View Post
    I will be creating a grimy dubstep song using these lyrics and vocaloid please prepare your bodies
    Reply With Quote  
     

  11. Thankful user:


  12. #9  
    Registered Member
    Shamon King's Avatar
    Join Date
    Aug 2007
    Posts
    3,335
    Thanks given
    90
    Thanks received
    228
    Rep Power
    1363
    Quote Originally Posted by saifix View Post
    java.util.Properties do you not know what the registry is or something
    I could be wrong here but don't you mean java.util.prefs.Preferences?
    Reply With Quote  
     

  13. #10  
    fumant viriditas quotidiana

    saifix's Avatar
    Join Date
    Feb 2009
    Age
    30
    Posts
    1,237
    Thanks given
    275
    Thanks received
    957
    Rep Power
    3304
    Quote Originally Posted by Shamon King View Post
    I could be wrong here but don't you mean java.util.prefs.Preferences?
    no i mean Properties (Java Platform SE 7 )

    the registry is effectively a key, value store
    "Im so bluezd out of my box.
    Im so fkd i canr even sens makeas Smoke blunt 420hash e tizday" - A legendary guy (1993 - 2015)
    Quote Originally Posted by nmopal View Post
    I will be creating a grimy dubstep song using these lyrics and vocaloid please prepare your bodies
    Reply With Quote  
     

  14. Thankful user:


Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Which Windows is the best?
    By Clawz in forum Voting
    Replies: 48
    Last Post: 05-21-2008, 12:07 PM
  2. Windows Easter Eggs
    By Turbo in forum Software
    Replies: 7
    Last Post: 05-10-2008, 10:04 PM
  3. Windows vista owns
    By Shauny in forum Software
    Replies: 7
    Last Post: 02-23-2008, 07:35 PM
  4. Replies: 0
    Last Post: 09-24-2007, 05:50 AM
  5. Packet 130 - Close Window
    By Runite in forum Tutorials
    Replies: 15
    Last Post: 08-23-2007, 04:23 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •