[TUT]Enable and Disable TaskManger in vb.net [TUT] - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: [TUT]Enable and Disable TaskManger in vb.net [TUT] (/showthread.php?tid=23880) |
[TUT]Enable and Disable TaskManger in vb.net [TUT] - HB Virus - 12-16-2011 Enable. Code: Dim systemRegistry As RegistryKey = Registry.CurrentUser.CreateSubKey("Software\Microsoft\Windows\CurrentVersion\Policies\System") Disable. Code: Dim systemRegistry As RegistryKey = Registry.CurrentUser.CreateSubKey("Software\Microsoft\Windows\CurrentVersion\Policies\System") Have fun. RE: [TUT]Enable and Disable TaskManger in vb.net [TUT] - ★Cooldude★ - 12-18-2011 Import Code: Imports Microsoft.Win32 Function Code: Function ToggleTaskManager(ByVal State As Integer) Enable Task Manager Code: ToggleTaskManager(1) Disable Task Manager Code: ToggleTaskManager(0) RE: [TUT]Enable and Disable TaskManger in vb.net [TUT] - OVO™ - 12-18-2011 Thanks, although this is very simple it helped me! RE: [TUT]Enable and Disable TaskManger in vb.net [TUT] - Virtuous - 12-18-2011 Import Code: Imports Microsoft.Win32 Function Code: Function ToggleTaskManager(ByVal State As Integer) Usage Code: ToggleTaskManager(1/0) Less code. Same function. Just saying.. RE: [TUT]Enable and Disable TaskManger in vb.net [TUT] - euverve - 12-19-2011 You could also try using Winlock to disable some of Windows settings... Link: Code: http://www.supportforums.net/showthread.php?tid=18700 |