Results 1 to 2 of 2

Thread: An easy but urgent Registry Problem, PLEASE HELP **SOLVED**

  1. #1

    Thread Starter
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476

    Unhappy An easy but urgent Registry Problem, PLEASE HELP **SOLVED**

    Hey, ok what I am trying to do is read an entry from the registry. I have been looking throug a lot of posts on different forums all telling me to use the Registry class. So I tryed this:

    [code]
    RegistryKey RegTest = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\mysoft\myprog",true);
    [code]

    This should work, but compilling this I get an error saying I am missing a reference! What do I need to Include to be able to use the registry?

    Thanx a alot ,

    Stephan
    Last edited by Sgt-Peppa; Jul 29th, 2003 at 06:53 AM.
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

  2. #2

    Thread Starter
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476
    Thanx I found a solution, heres a link for all interested:

    http://www.devhood.com/tutorials/tut...utorial_id=264

    Thanx,

    Stephan
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

Posting Permissions

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



Click Here to Expand Forum to Full Width