Using SendInput from The user32 Library

Category:
System/API
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
This snippet of VB.NET code shows you how to use SendInput from the user32 library with mouse clicks.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: