This is a peice of code from my vb6 program that wont upgrade to
vb 2008. Below is the wording of the errors I get for this section. The Comment lines that say upgrade issue are from the wizard update for
vb 2008. The links given don't seem to help me much.
Private Sub DrawWafer()
Dim i, j As Short
Dim Rad As Single
XSpan = Wafer.XPitch * Wafer.Cols
YSpan = Wafer.YPitch * Wafer.Rows
Rad = Wafer.WaferSize * 20
'UPGRADE_ISSUE: PictureBox method picDraw.Cls was not upgraded. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
picDraw.Cls()
'UPGRADE_ISSUE: PictureBox property picDraw.FillStyle was not upgraded. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
picDraw.FillStyle = 1
'UPGRADE_ISSUE: PictureBox method picDraw.Scale was not upgraded. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
picDraw.Scale (-100, Wafer.WaferSize * 40 + 100) - (Wafer.WaferSize * 40 + 100, -100)
'UPGRADE_ISSUE: PictureBox method picDraw.Circle was not upgraded. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
picDraw.Circle (Rad, Rad), Rad, System.Drawing.ColorTranslator.ToOle(System.Drawin g.Color.Black), (100 * PI / 180), (80 * PI / 180)
'UPGRADE_ISSUE: PictureBox method picDraw.Line was not upgraded. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
picDraw.Line (Rad + Rad * System.Math.Cos(80 * PI / 180), Rad + Rad * System.Math.Sin(80 * PI / 180)) - (Rad - Rad * System.Math.Cos(80 * PI / 180), Rad + Rad * System.Math.Sin(80 * PI / 180))
MarkSkips()
End Sub
The errors are as follows:
Error 42 'Cls' is not a member of 'System.Windows.Forms.Panel'.
Error 43 'FillStyle' is not a member of 'System.Windows.Forms.Panel'.
Error 44 End of statement expected.
Error 45 'Circle' is not a member of 'System.Windows.Forms.Panel'.
Error 46 End of statement expected.
Error 47 'Line' is not a member of 'System.Windows.Forms.Panel'.
Error 48 End of statement expected.