Hello C,
you might want to check the modifier for that label.
If it is set to Private, you can't access it from outside.
the form.
Best regards,
Martin H.
Its modifier is Public. Automatic conversion has done this.
Here is that subroutine:
Sub formsize(ByRef FormN As System.Windows.Forms.Form)
'UPGRADE_ISSUE: Form property FormN.ScaleWidth was not upgraded.
Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?
keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
' FormN.ScaleWidth = 11940
FormN.Height = VB6.TwipsToPixelsY(8500)
FormN.Width = VB6.TwipsToPixelsX(12060)
FormN.BackColor = System.Drawing.ColorTranslator.FromOle(RGB(rrr,
ggg, bbb))
'UPGRADE_ISSUE: Form property FormN.DrawWidth was not upgraded.
Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?
keyword="CC4C7EC0-C903-48FC-ACCC-81861D12DA4A"'
' FormN.DrawWidth = 1
'UPGRADE_ISSUE: Control Label30 could not be resolved because it was
within the generic namespace Form. Click for more: 'ms-help://
MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="084D22AD-ECB1-400F-
B4C7-418ECEC5E36E"'
' FormN.Label30.Width = 8000
'UPGRADE_ISSUE: Control Label31 could not be resolved because it was
within the generic namespace Form. Click for more: 'ms-help://
MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="084D22AD-ECB1-400F-
B4C7-418ECEC5E36E"'
' FormN.Label31.Width = 8000
'UPGRADE_ISSUE: Control Label30 could not be resolved because it was
within the generic namespace Form. Click for more: 'ms-help://
MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="084D22AD-ECB1-400F-
B4C7-418ECEC5E36E"'
' FormN.Label30 = TitleS
'UPGRADE_ISSUE: Control Label31 could not be resolved because it was
within the generic namespace Form. Click for more: 'ms-help://
MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="084D22AD-ECB1-400F-
B4C7-418ECEC5E36E"'
' FormN.Label31 = SubtitleS
'UPGRADE_ISSUE: Control Label30 could not be resolved because it was
within the generic namespace Form. Click for more: 'ms-help://
MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="084D22AD-ECB1-400F-
B4C7-418ECEC5E36E"'
' FormN.Label30.ForeColor = RGB(r3, g3, b3)
'UPGRADE_ISSUE: Control Label31 could not be resolved because it was
within the generic namespace Form. Click for more: 'ms-help://
MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="084D22AD-ECB1-400F-
B4C7-418ECEC5E36E"'
' FormN.Label31.ForeColor = RGB(255, 255, 255)
If rrr = 255 And ggg = 255 And bbb = 255 Then
'UPGRADE_ISSUE: Control Label31 could not be resolved because it
was within the generic namespace Form. Click for more: 'ms-help://
MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="084D22AD-ECB1-400F-
B4C7-418ECEC5E36E"'
' FormN.Label31.ForeColor = RGB(0, 0, 0)
End If
End Sub