VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

i-r0x Port Blocker 1.0 is an excellent way to filter unwanted domains from connecting to your IP, f

xyr0x  (7 Submissions)   Internet/HTML   Visual Basic 5.0   Unknown Difficulty   Wed 31st January 2007   Mon 8th February 2021

i-r0x Port Blocker 1.0 is an excellent way to filter unwanted domains from connecting to your IP, from congested Torrent trackers, websites,

API Declarations



'module to call application to stay ontop

Option Explicit
Public Const HWND_TOPMOST = -1
Public Const SWP_NOMOVE = &H2
Public Const SWP_NOSIZE = &H1
Public Const HWND_NOTOPMOST = -2
Public Const LB_ITEMFROMPOINT = &H1A9
Public Declare Function Setwindowpos Lib "user32" Alias "SetWindowPos" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Public Declare Function ReleaseCapture Lib "user32" () As Long

Public Function SetWinPos(iPos As Integer, lHWnd As Long) As Boolean
Dim lwinpos As Long
iPos = 1
Select Case iPos
Case 1
lwinpos = HWND_TOPMOST
End Select
If Setwindowpos(lHWnd, lwinpos, 0, 0, 0, 0, SWP_NOMOVE _
+ SWP_NOSIZE) Then
SetWinPos = True
End If
End Function

Rate i-r0x Port Blocker 1.0 is an excellent way to filter unwanted domains from connecting to your IP, f (1(1 Vote))
i-r0x Port Blocker 1.0 is an excellent way to filter unwanted domains from connecting to your IP, f.bas

i-r0x Port Blocker 1.0 is an excellent way to filter unwanted domains from connecting to your IP, f Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters