Can anyone tell me how I can modify values in the registry??
I want to be able to disable the Windows XP firewall??
Any help is appreciated.
Thanks in advance!!
Printable View
Can anyone tell me how I can modify values in the registry??
I want to be able to disable the Windows XP firewall??
Any help is appreciated.
Thanks in advance!!
hi!
You can use some api's
http://www.allapi.net
RegOpenKey
RegSetValueEx
RegCloseKey
Remember, modifying the registry incorrectly is a great way of crashing your system......
VB Code:
Dim WshShell As Object Set WshShell = CreateObject("WScript.Shell") 'To write to registry WshShell.RegWrite _ "HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\Directory", _ "What ever you want", "REG_SZ" 'to read from registry str = WshShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\pcAnywhere\DIR") Set WshShell = Nothing