Hello ByVal,

Welcome to codeguru :)

This is how I declare the PostMessage function in user32.dll:


<DllImport("user32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
Public...