Hi, I've been playing with VB.net, trying to make a choropleth map: I've tried the PresetColorRamp, and then the RandomColorRamp. I either get an error (the compiler doesn't seem to like: pColorRamp.PresetColor(i) = pColor under the preset option - something about a COM error? Then it doesn't like pColorRamp.Color = pColor under the random option, saying that the color is read only. I think I'm going to have to be able to change the color. Another problem I was getting was that the whole map was disappearing. It was still in the Table Of Contents but it wasn't displaying.
Maybe I need a reference or something?
'Dim pColorRamp As IColorRamp = New PresetColorRamp Dim pColorRamp As IColorRamp = New RandomColorRamp