Hello.
I need to know how is the visual basic format of this expression?
i´m sorry im not speaker english, i try to explain me
C#
var sfParks = new Shapefile();
sfParks.Open(filename2, null);
ShapefileCategory ct = sfParks.Categories.Add("Estados");
// choose parks and make them green
ct.Expression = "[CVE_ENT] = \"10\""; // this format i need to visual basic
var utils = new Utils();
ct.DrawingOptions.FillColor = utils.ColorByName(tkMapColor.Green);
sfParks.Categories.ApplyExpression(0);
VB
FillColor = Convert.ToUInt32(RGB(Color.SpringGreen.R, Color.SpringGreen.G, Color.SpringGreen.B))
Dim ct As New Mapwingis.ShapefileCategory
ct = sfWorld.Categories.Add("Estados")
ct.Expression = "[CVE_ENT] = \"10\"" 'doesn't work
Dim Utils = New Utils
ct.DrawingOptions.FillColor = Utils.ColorByName(tkMapColor.Green)
sfWorld.Categories.ApplyExpression(0)