'+++ Define the START Text Symbol Dim pTextSymbol As ITextSymbol pTextSymbol = New TextSymbol pTextSymbol.HorizontalAlignment = esriTHARight 'not declared pTextSymbol.VerticalAlignment = esriTVABottom 'not declared 'FONT/SIZE Dim myFont As IFontDisp 'not defined myFont = New StdFont 'not defined myFont.Name = Arial 'not declared myFont.size = 18 myFont.Bold = True pTextSymbol.Font = myFont 'Reference required to assembly blahblah 'COLOR Dim pRGBColor As IRgbColor pRGBColor = New RgbColor pRGBColor.Red = 163 pRGBColor.Green = 255 pRGBColor.Blue = 115 pTextSymbol.Color = pRGBColor 'HALO Dim pMask As IMask pMask = pTextSymbol pMask.MaskStyle = esriMSHalo 'not declared pMask.MaskSize = 0.5 pTextSymbol = pMask
esriTextHorizontalAlignment.esriTHARight
esriMarkStyle.esriMSHalo
Other than that, you need to seek out documentation on how to migrate from VBA to VB.NET (Visual Studio).
As mentioned in a prior post, you need references to assemblies. And to use types without full qualification, you need to "use" the correct namespaces.
I put together a little tutorial on converting VBA to a C# Add-in. Since you are working in VB.net, it is a little different. But this particular short video may give you a shortcut for adding assemblies in Visual Studio as you convert your code using the Object Browser (I assume it functions the same when using VB.net):
http://gis.qtools.com/tutorials/vba_to_cs/video/CS2008_ConvertVBA_Demo_pt03.swf.html (1 minute flash video)
The full tutorial is here:
http://gis.qtools.com/blog/tutorials/vba-to-c-add-in/
-Jeff