Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: How can I . . . Pin
ian mariano28-Oct-02 4:38
ian mariano28-Oct-02 4:38 
GeneralRe: How can I . . . Pin
Venet31-Oct-02 5:40
Venet31-Oct-02 5:40 
QuestionHow to send message to a form in C#? Pin
Solmyr24-Oct-02 19:19
Solmyr24-Oct-02 19:19 
AnswerRe: How to send message to a form in C#? Pin
Stephane Rodriguez.24-Oct-02 21:56
Stephane Rodriguez.24-Oct-02 21:56 
GeneralRe: How to send message to a form in C#? Pin
Mazdak25-Oct-02 8:48
Mazdak25-Oct-02 8:48 
GeneralRe: How to send message to a form in C#? Pin
Tom Archer25-Oct-02 13:59
Tom Archer25-Oct-02 13:59 
GeneralRe: How to send message to a form in C#? Pin
Stephane Rodriguez.25-Oct-02 19:26
Stephane Rodriguez.25-Oct-02 19:26 
Generaldata bases Pin
imran_rafique24-Oct-02 16:44
imran_rafique24-Oct-02 16:44 
GeneralRe: data bases Pin
Rickard Andersson2025-Oct-02 0:15
Rickard Andersson2025-Oct-02 0:15 
GeneralSingle instance assembly Pin
Anonymous24-Oct-02 14:29
Anonymous24-Oct-02 14:29 
GeneralRe: Single instance assembly Pin
Jon Rista24-Oct-02 16:18
Jon Rista24-Oct-02 16:18 
GeneralRe: Single instance assembly Pin
Anonymous24-Oct-02 18:06
Anonymous24-Oct-02 18:06 
GeneralRe: Single instance assembly Pin
James T. Johnson24-Oct-02 22:17
James T. Johnson24-Oct-02 22:17 
GeneralReverse IP Lookup in C#/.NET Pin
Quimbly24-Oct-02 11:12
Quimbly24-Oct-02 11:12 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Daniel Turini24-Oct-02 11:48
Daniel Turini24-Oct-02 11:48 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Jon Rista24-Oct-02 12:14
Jon Rista24-Oct-02 12:14 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Quimbly24-Oct-02 19:17
Quimbly24-Oct-02 19:17 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
Jon Rista26-Oct-02 10:16
Jon Rista26-Oct-02 10:16 
GeneralRe: Reverse IP Lookup in C#/.NET Pin
ian mariano28-Oct-02 5:01
ian mariano28-Oct-02 5:01 
GeneralMoving only Web colors from the knowncolors Enumeration Pin
mkushner24-Oct-02 9:05
mkushner24-Oct-02 9:05 
Hi All,
I'm trying to move colors for index 27 and beyond from the Colors enumeration to a new string[] array. The following moves them fine into the new array, and writes them out, but when the Databind occurs, it give me the following error.

Object reference not set to an instance of an object.

KnownColor enumColor = new KnownColor();
Array Colors = Enum.GetValues(enumColor.GetType());

string[] WebColors = new string[150];
for (int i=27; i< Colors.Length;i++)
{
WebColors[i-27] = Color.FromName(Colors.GetValue(i).ToString()).Name.ToString();
}

foreach (string s in WebColors)
{
Response.Write(s + "
");
}

cboColor.DataSource = WebColors;
cboColor.DataBind(); ERROR IS HAPPENING ON THIS LINE


I would be VERY thankful for any help.

Thanks,
Mike
QuestionIs C# intended for network programming as well? Pin
steinher24-Oct-02 8:09
steinher24-Oct-02 8:09 
AnswerRe: Is C# intended for network programming as well? Pin
Stephane Rodriguez.24-Oct-02 8:19
Stephane Rodriguez.24-Oct-02 8:19 
AnswerRe: TCPClient.... Pin
Masaaki Onishi24-Oct-02 16:30
Masaaki Onishi24-Oct-02 16:30 
GeneralRe: TCPClient.... Pin
Christopher Lord25-Oct-02 15:31
Christopher Lord25-Oct-02 15:31 
Questionopening a pdf document using c sharp?? Pin
Asim N.24-Oct-02 2:19
Asim N.24-Oct-02 2:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.