Launching/deleting/modifying files/folders via Registry. menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    JoeBiden's Avatar Contributor
    Reputation
    153
    Join Date
    Aug 2007
    Posts
    498
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Launching/deleting/modifying files/folders via Registry.

    I am working on a little project and was wondering how to do this? as almost all comps have the same registry path's it would help alot.

    Some example code would be awesome
    Last edited by JoeBiden; 02-06-2009 at 09:58 AM.

    Launching/deleting/modifying files/folders via Registry.
  2. #2
    Opalis's Avatar Member
    Reputation
    10
    Join Date
    Dec 2008
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
     Dim regKey As Microsoft.Win32.RegistryKey
            regKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\Adobe", True)
    
    'Checks if person has any adobe products installed. 
    
            If regKey Is Nothing Then
    
                'No adobe products
                'Create subkey
                regKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE", True)
                regKey.CreateSubKey("Adobe")
                MsgBox("Adobe Subkey Created")
    
                     
    'Creates a key in Adobe folder called PathName with value: Value.
         Microsoft.Win32.Registry.LocalMachine.OpenSubKey("SOFTWARE\Adobe", True)
                regKey.SetValue("PathName", Value)
            End If
    
    'Gets the value stored at pathname.
            MyValue= regKey.GetValue("PathName")
    
    regKey.Close()
    
    
    
    
    'Note: regKey.DeleteSubKey("keyname") can also be used.
    Enjoy

Similar Threads

  1. [Question] Model Editing still works even after deleting the file?
    By kenshinamv in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 07-21-2010, 04:19 PM
  2. Help modifying files
    By ReallyAttract in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 02-28-2010, 05:02 PM
  3. Reduce WoW Lag via Registry Edits via a Program
    By leoj in forum World of Warcraft Bots and Programs
    Replies: 26
    Last Post: 05-18-2008, 09:19 PM
  4. Delete WoW Cache Folder (EASY)
    By xiamsocrunkx in forum World of Warcraft Guides
    Replies: 6
    Last Post: 05-10-2008, 04:33 PM
  5. [help] MES deleted my data folder
    By craftermain in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 04-04-2008, 02:28 AM
All times are GMT -5. The time now is 06:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search