Problem
-
Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj
-
Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj
Which line? There isn't a line that's bold...
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj
As already mentioned there is no line in bold, but looking at the code you have supplied there seems to be an
end sub
that is in error/not required. My guess at this point in time is to delete theend sub
at the bottom of your ReadOnly property. Regards, Martin -
Sir/madam, I am facing problem in the following line which is bold.I want to know the meaning of this line.It is associated with the following function. Public Property [ReadOnly]() As Boolean Get Return _ReadOnly End Get Set(ByVal Value As Boolean) _ReadOnly = Value End Set end sub Thanks and Regards Pankaj
The end sub should be End Property.
Kevin