Results 1 to 4 of 4

Thread: Disable the Mouse and Keyboard of the Client by the server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    1

    Disable the Mouse and Keyboard of the Client by the server

    Pls. help me! I need to make a system for our Research Project that could disable the mouse and keyboard of the client through the server computer. I am a beginner for this program.

    Can anyone give me a detailed procedure on how to establish/make the system.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Disable the Mouse and Keyboard of the Client by the server

    Welcome to the forums.

    My one question is: why?

  3. #3
    Member
    Join Date
    Aug 2005
    Posts
    47

    Re: Disable the Mouse and Keyboard of the Client by the server

    that would be kick arse i second that question.

  4. #4
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: Disable the Mouse and Keyboard of the Client by the server

    You can use the BlockInput API.

    Done in Visual Studio 2003
    VB Code:
    1. Private Declare Function BlockInput Lib "user32" (ByVal fBlock As Long) As Long
    2.     Private WithEvents timer1 As New Timer
    3.  
    4.     Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    5.         timer1.Interval = 5000
    6.         timer1.Start()
    7.         BlockInput(True)
    8.     End Sub
    9.  
    10.     Private Sub timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles timer1.Tick
    11.         BlockInput(False)
    12.         timer1.Stop()
    13.     End Sub

    As far as executing the code remotely, you're on your own. We don't make programs that can be used for exploitation or annoyance.

    Besides, if you've done client/server programming before, you should be able to figure this one out on your own.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width