http://www.vbcode.com/Asp/showsn.asp?theID=12488
vb6 code to open xp firewall port?
vb6 code to open xp firewall port?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
The command it launches is:
So what I can gather is that Text1 holds the name of an exe and the command
is telling XP to allow that exe to bypass the Windows Firewall? Sound plausible?
Code: Select all
Shell ("netsh firewall set portopening TCP " & Text1.Text)
is telling XP to allow that exe to bypass the Windows Firewall? Sound plausible?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
I looked at the link and it offered not much (just about the line you show above) so I googled for the text: netsh firewall set portopening TCP and got a few links which may throw some light on the subject:
http://support.microsoft.com/kb/839980/
http://www.windowsnetworking.com/articl ... ewall.html
Hope they're useful.
http://support.microsoft.com/kb/839980/
http://www.windowsnetworking.com/articl ... ewall.html
Hope they're useful.
Dare2 cut down to size

