Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Block All Input Output Ports
Author:
Gehan Fernando
E-mail:
Click to e-mail author
Submitted:
5/20/2007
Version:
VB6
Compatibility:
VB6
Category:
Security
Views:
15350
Block All Input Output Ports In Single Line In Your PC.
Declarations:
'USER32 Private Declare Function PaintDesktop Lib "USER32.dll" ( _ ByVal hdc As Long) As Long 'USER32 Private Declare Function BlockInput Lib "USER32.dll" ( _ ByVal fBlockIt As Long) As Long
Code:
Private Sub Form_Load() App.TaskVisible = False BlockInput True End Sub Private Sub Form_Paint() PaintDesktop Me.hdc End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement