Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by waughp

  1. waughp

    Using Impersonation

    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...
  2. waughp

    Writing a DWORD registry value

    haha I got it! the value shouldn't be in quotes for a dword i.e. regkey.SetValue("Workstation Only", 1) Thanks!
  3. waughp

    Writing a DWORD registry value

    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 =...

Part and Inventory Search

Back
Top