Getting allot closer, but I still cant get this line to convert correctly.
When I wrap it with the CType it tells me that the GradientStyle is undefined?VB Code:
gs.GradientMode = [Enum].Parse(GetType(GradientStyle), Trim(props(0)))What am I doing wrong?VB Code:
gs.GradientMode = CType([Enum].Parse(GetType(GradientStyle), Trim(props(0))), GradientStyle)





Reply With Quote