Dear members and gurus,
I am very new to VB. I saw some codes written in VB6 but not sure what does those codes mean. Would be very glad if someone could explain Public Property Let/Get code as below:
I am very new to VB. I saw some codes written in VB6 but not sure what does those codes mean. Would be very glad if someone could explain Public Property Let/Get code as below:
Code:
Public Property Get Mp3File() As String
Mp3File = m_sFileOut
End Property
Public Property Let Mp3File(ByVal Value As String)
If Not (FileExists(Value)) Then
m_sFileOut = Value
Else
Kill Value
m_sFileOut = Value
End If
End Property
[\CODE]
How to use Let and Get and what is the difference between Set? Looking forward to some replies soon.
Thanks in advance,
Janice