Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Sub DisableMyFirewall(MyToggle As Boolean)
Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
If MyToggle = True Then
MsgBox "Your Windows Firewall will now be disabled."
objPolicy.FirewallEnabled = False
Else
MsgBox "Your Windows Firewall will now be enabled."
objPolicy.FirewallEnabled = True
End If
End Sub
Private Sub Command1_Click()
DisableMyFirewall True
End Sub
Private Sub Command2_Click()
DisableMyFirewall False
End Sub
Private Sub Form_Load()
Command1.Caption = "Disable"
Command2.Caption = "Enable"
End Sub
Public Sub DisableMyFirewall(MyToggle As Boolean)
Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
If MyToggle = True Then
MsgBox "Your Windows Firewall will now be disabled."
objPolicy.FirewallEnabled = False
Else
MsgBox "Your Windows Firewall will now be enabled."
objPolicy.FirewallEnabled = True
End If
End Sub
Private Sub Command1_Click()
DisableMyFirewall True
End Sub
Private Sub Command2_Click()
DisableMyFirewall False
End Sub
Private Sub Form_Load()
Command1.Caption = "Disable"
Command2.Caption = "Enable"
End Sub