write registry on Windows 7 with VB.NET
Posted on 2009-12-21
I have a software in VB 2008 that needs to read/write the registry at start-up. On Windows XP, it works fine. I have migrated to Windows 7 last weekend, and now, it doesn't work anymore, I have an exception thrown at the Write registry line with the error: "Requested registry access is not allowed".
How can I fix this?
I can't modify the source code, because many other programmers uses the same code.
thanks a lot for your time and help