Jacky,
Jacky Luk said:
PSet with VB6 seems obsolete. What is the replacement for .NET 2002?
Either use a bitmap as described in the other reply, or draw onto the form
in its 'Paint' event handler or overridden 'OnPaint' method. The 'Graphics'
object doesn't provide a method for drawing points, but you can do that
using 'FillRectangle':
\\\
Private Sub Form1_Paint( _
ByVal sender As Object, _
ByVal e As PaintEventArgs _
) Handles MyBase.Paint
e.Graphics.FillRectangle( _
New SolidBrush(Color.Red), _
New Rectangle(100, 100, 1, 1) _
)
End Sub
///