Visual Basic uses an unusual syntax for the PSet method, which is not supported for Windows CE. The PointSet method, which has the normal method call syntax, is provided instead.
Example of statement with this error:
ThisForm.PSet (XPos, YPos), Color
Change to:
ThisForm.PointSet XPos, YPos, Color