Hi everyone,
I'm writing a program that will require a windows PowerUser to write to the registry and I need to get Impersonation working. I bought a book entitled, "Visual Basic .Net Programmer's Cookbook" (sounds fancy) and I got the following code for an impersonation module:
Module RunAs...
Hey guys,
I am writting a program in VB.net that needs to set a dword value in the registry. However, it always writes it as a REG_SZ. Here is an example of the code I'm using:
If Me.NovellOptionsCB1.CheckState = CheckState.Checked Then
Dim regKey As RegistryKey
regKey =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.