简体   繁体   中英

Win7 registry problem

I have an application that access registry for finding the path where is installed Expression Web in order to open some .html files with Expression Web.

In Windows XP works ok. In Win7 not. What should I do in this case?

I'm using C# for accessing registry keys.

Win7 vs XP is probably a red herring. Start by finding the key in regedit and making sure that you can invoke Expression Web from the commandline using the value of the registry keys.
Attempt at psychic debugging: if your Win7 OS is 64-bit and XP isn't, you may have forgotten the 32-bit designator after Program files.

If those things don't work, we'll probably need more information.

You need administrative privileges to access Local Machine (HKLM) in 7 (and vista). Look here, the answer to this question might help you: Requested registry access is not allowed

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM