| |

VerySource

 Forgot password?
 Register
Search
View: 753|Reply: 4

Registry value issues, online, etc. Thank you all!

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-2 22:00:01
| Show all posts |Read mode
I plan to put HKEY_LOCAL_MACHINE\Software\Tencent\QQ in the registry below
  Name: Install Data: E:\Program Files\Tencent\QQ
  This path value is read out
RegistryKey rkTemp = Registry.LocalMachine.OpenSubKey (@ "HKEY_LOCAL_MACHINE\Software\Tencent\QQ");
string path = rkTemp.GetValue ("Install"). ToString ();
But can't succeed, please give pointers, thank you ~~~ Please attach the code
Reply

Use magic Report

0

Threads

119

Posts

67.00

Credits

Newbie

Rank: 1

Credits
67.00

 Vietnam

Post time: 2020-5-18 22:00:01
| Show all posts
RegistryKey rkTemp = Registry.LocalMachine.OpenSubKey (@ "Software\Tencent\QQ");
string path = rkTemp.GetValue ("Install"). ToString ();
Reply

Use magic Report

0

Threads

119

Posts

67.00

Credits

Newbie

Rank: 1

Credits
67.00

 China

Post time: 2020-5-18 23:00:02
| Show all posts
No need for HKEY_LOCAL_MACHINE\
Reply

Use magic Report

0

Threads

52

Posts

34.00

Credits

Newbie

Rank: 1

Credits
34.00

 China

Post time: 2020-5-19 12:30:01
| Show all posts
Registry.LocalMachine.OpenSubKey has opened HKEY_LOCAL_MACHINE\
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-5-19 13:00:02
| Show all posts
Turns out, thank you
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list