Hy,
thank for your code that could be used in some other application.
Next gif shows a VB6 program that (if you pay attention) add point after point of a physical variable:
I can do the same with Visual Studio, the difference is that with VB6 i write only:
form1.PictureBox.PSet (x,y)
With Visual Studio I have to write all the drawing (points).
Regards