You can't use these values directly for colors, use the Color.FromArgb function and there put the hexadecimal value of each color.Originally posted by teamdad
Not sure if i'm doing it right or if there's another problem. Still gives a syntax error. Keep in mind this is a gradient draw.
Code:DrawGradient(Color.&H33CC33, Color&H009900, Drawing.Drawing2D.LinearGradientMode.Vertical)
Code:DrawGradient(Color.FromArgb(255, &H33, &HCC, &H33), Color.FromArgb(255, 0, &H99, 0), Drawing.Drawing2D.LinearGradientMode.Vertical)




Reply With Quote