Gerber files are two other points.
I want to know the distance in mm.
gerber file format is RS-274X
it is your exsample VB6 source
Private Sub Scviewer_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
Dim wx As Long
Dim wy As Long
x = x * 0.5
y = y * 0.5
Call Scviewer.ScreenToWorld(x, y, wx, wy)
Coordinates = Str(wx) + "," + Str(wy)
Please.. help me..