Hmmm ... your code looks fine to me, but I'm no VB.NET expert. I plugged the C# equivalent into the C#-to-VB converters and got two different results for the Set, but I have no clue if it matters, VB-wise, or not:
'Kamal's converter had this for the SetSet (ByVal Value AsString)
mcText = Value
EndSet
'AspAlliance's converter had thisSet
mcText = value
EndSet