First add this import to your class (on top of your class code): Code: Imports System.Runtime.InteropServices Then declare this function (inside the class): Code: <DllImport("user32.dll")> _ Public Shared Function SwapMouseButton(bSwap As Int32) As Int32 End Function And then call this function from your code like this: To swap: Code: SwapMouseButton(1) Back to normal state: Code: SwapMouseButton(0)