Thanks that great.... and one last thing (hopefully) can someone check to see if this is correct
VB Code:
arrColours[10, 2] = new Color(); //Holds an array of different colours (for the text) to display the captcha in. arrPen[10] = new Pen(); //Holds an array of different colours (for the lines) to display the captcha in. intArrIndex = intArrRnd * 4; //****************** //** Colour Array ** //****************** //Gray arrColours(0, 0) = Color.Gray; arrColours(0, 1) = Color.DarkGray; arrPen(0) = Pens.LightGray; //Green arrColours(1, 0) = Color.Green; arrColours(1, 1) = Color.DarkGreen; arrPen(1) = Pens.LightGreen; //Blue arrColours(2, 0) = Color.Blue; arrColours(2, 1) = Color.DarkBlue; arrPen(2) = Pens.LightBlue; //Red arrColours(3, 0) = Color.Red; arrColours(3, 1) = Color.DarkRed; arrPen(3) = Pens.LightPink; //Brown arrColours(4, 0) = Color.Brown; arrColours(4, 1) = Color.Black; arrPen(4) = Pens.Maroon;




Reply With Quote