http://www.ccidnet.com/tech/guide/2001/11/26/58_3786.html
http://www.ccidnet.com/html/tech/guide/2001/11/30/92_3843.html

解决方案 »

  1.   

    http://www.ccidnet.com/tech/guide/2001/11/26/58_3786.html
    http://www.ccidnet.com/html/tech/guide/2001/11/30/92_3843.html
      

  2.   

    写:
    RegistryKey rkey = Registry.LocalMachine;
    //The second parameter tells it to open the key as writable
        RegistryKey rkey1 = rkey.OpenSubKey("Software",true);
    RegistryKey rkey2 = rkey1.CreateSubKey("baoTest");
    rkey2.SetValue("Name",textBox1.Text);
    rkey2.Close();
    rkey1.Close();
    读:
    RegistryKey rkey = Registry.LocalMachine;
    //The second parameter tells it to open the key as writable
    RegistryKey rkey1 = rkey.OpenSubKey("Software\\baoTest",true);
    textBox2.Text=rkey1.GetValue("Name").ToString();
      

  3.   

    http://www.chinabs.net/csharp/default.asp?infoid=16
      

  4.   

    http://www.chinabs.net/csharp/default.asp?infoid=28