Results 1 to 2 of 2

Thread: I need some help with...

  1. #1

    Thread Starter
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    If you are new to VB than you should try something simpler. Do you know the API. Also some things can not be done in VB ( i mean with hardware control).
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  2. #2
    Megatron
    Guest
    Use the SetCursorPos API.
    VB Code:
    1. Private Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
    2.  
    3.  
    4. Private Sub Command1_Click()
    5.     SetCursor x, y
    6. End Sub
    Change x and y to the x and y position you want the mouse to change to.

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