PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
Independent Click Client.-VBForums
Results 1 to 6 of 6

Thread: Independent Click Client.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2011
    Posts
    68

    Independent Click Client.

    Basically I need the code for a form that can click every 8 seconds without interrupting the users mouse. Please could someone write that bit of code!
    Thanks, _TANK_

  2. #2
    PowerPoster make me rain's Avatar
    Join Date
    Sep 2008
    Location
    india/Hubli
    Posts
    2,184

    Re: Independent Click Client.

    Basically I need the code for a form that can click every 8 seconds
    Click what ?
    The averted nuclear war
    My notes:

    PrOtect your PC. MSDN Functions .OOP LINUX forum
    .LINQ LINQ videous
    If some one helps you please rate them with out fail , forum doesn't expects any thing other than this

  3. #3
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: Independent Click Client.

    Use a timer.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jul 2011
    Posts
    68

    Re: Independent Click Client.

    [QUOTE=make me rain;4079243]Click what ?[/QUOTE

    A webbrowser inside it. Maybe you could make it click at the location of something. Basically it clicks every 8 seconds without using the users mouse. Like its own mouse.

  5. #5
    Addicted Member
    Join Date
    Nov 2010
    Location
    TamilNadu, India
    Posts
    249

    Re: Independent Click Client.

    add the Timer into your project

    Timer1 Properties
    vb Code:
    1. Timer1.Interval = 1000
    2. Timer1.Enabled = True


    in timer event
    vb Code:
    1. Private I%
    2.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    3.         If I = 8 Then 'every 8 second
    4.             I = 0
    5.             Button1.PerformClick() 'button click event
    6.         End If
    7.          I += 1
    8.     End Sub

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Jul 2011
    Posts
    68

    Re: Independent Click Client.

    Quote Originally Posted by medsont View Post
    add the Timer into your project

    Timer1 Properties
    vb Code:
    1. Timer1.Interval = 1000
    2. Timer1.Enabled = True


    in timer event
    vb Code:
    1. Private I%
    2.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    3.         If I = 8 Then 'every 8 second
    4.             I = 0
    5.             Button1.PerformClick() 'button click event
    6.         End If
    7.          I += 1
    8.     End Sub
    Thanks, but what I mean is it can click the middle of the screen. Not a button.

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width