Click here to Skip to main content
15,901,035 members
Home / Discussions / C#
   

C#

 
JokeRe: Video Processing - ColorMatrix Pin
tvbarnard30-Jun-09 3:13
tvbarnard30-Jun-09 3:13 
QuestionCustom border color for Textbox is not working when using WS_EX_COMPOSITED style to the windows forms Pin
mutpan29-Jun-09 22:48
mutpan29-Jun-09 22:48 
AnswerRe: Custom border color for Textbox is not working when using WS_EX_COMPOSITED style to the windows forms Pin
Svetlin Panayotov29-Jun-09 23:36
Svetlin Panayotov29-Jun-09 23:36 
GeneralRe: Custom border color for Textbox is not working when using WS_EX_COMPOSITED style to the windows forms Pin
mutpan29-Jun-09 23:44
mutpan29-Jun-09 23:44 
Questionhelp needed for httpwebreqest and postback Pin
aamirzada29-Jun-09 21:34
aamirzada29-Jun-09 21:34 
AnswerRe: help needed for httpwebreqest and postback Pin
Manas Bhardwaj29-Jun-09 21:58
professionalManas Bhardwaj29-Jun-09 21:58 
GeneralRe: help needed for httpwebreqest and postback Pin
aamirzada6-Jul-09 0:47
aamirzada6-Jul-09 0:47 
QuestionUnassigned local variable Pin
gwithey29-Jun-09 21:23
gwithey29-Jun-09 21:23 
I have a variable

byte[] rxData;

And VS is complaining that it is unassigned. However i dont want to assign it as this is done in the switch statement that follows.


does anyone know why it still complains

;switch (rxMessage[3])
              {
                 case 0x46: // full Display Area
                    for (int i = 4; i <= 1028; i++)
                    {rxData[i - 4] = rxMessage[i];}
                    break;
                 case 0x42: // This command shall switch off the LCD and clear the LCD RAM
                    rxData[0] = 0;
                    break;
                 case 0x4f: // LCD On Off
                    rxData[0] = rxMessage[4];
                    break;
                 case 0x43:
                    rxData[0] = rxMessage[4];
                    break;
                 default:
                    //error
                    throw new InvalidDataException("Error: Incorrect Subcommand type may have been found");
              }

AnswerRe: Unassigned local variable Pin
SeMartens29-Jun-09 21:35
SeMartens29-Jun-09 21:35 
AnswerRe: Unassigned local variable Pin
dan!sh 29-Jun-09 21:37
professional dan!sh 29-Jun-09 21:37 
GeneralRe: Unassigned local variable Pin
gwithey29-Jun-09 21:41
gwithey29-Jun-09 21:41 
GeneralRe: Unassigned local variable Pin
OriginalGriff29-Jun-09 21:53
mveOriginalGriff29-Jun-09 21:53 
GeneralRe: Unassigned local variable Pin
gwithey30-Jun-09 0:38
gwithey30-Jun-09 0:38 
QuestionWIA Video Problem...?? Pin
S K Y29-Jun-09 20:44
S K Y29-Jun-09 20:44 
AnswerRe: WIA Video Problem...?? Pin
Nuri Ismail29-Jun-09 21:08
Nuri Ismail29-Jun-09 21:08 
GeneralRe: WIA Video Problem...?? Pin
S K Y29-Jun-09 21:38
S K Y29-Jun-09 21:38 
GeneralRe: WIA Video Problem...?? Pin
Nuri Ismail29-Jun-09 22:01
Nuri Ismail29-Jun-09 22:01 
GeneralRe: WIA Video Problem...?? Pin
S K Y29-Jun-09 22:16
S K Y29-Jun-09 22:16 
AnswerRe: WIA Video Problem...?? Pin
Nuri Ismail29-Jun-09 22:22
Nuri Ismail29-Jun-09 22:22 
AnswerRe: WIA Video Problem...?? Pin
Christian Graus30-Jun-09 0:13
protectorChristian Graus30-Jun-09 0:13 
QuestionMediaplayer version checking Pin
rakeshs31229-Jun-09 20:24
rakeshs31229-Jun-09 20:24 
AnswerRe: Mediaplayer version checking Pin
stancrm29-Jun-09 20:41
stancrm29-Jun-09 20:41 
GeneralRe: Mediaplayer version checking Pin
rakeshs31229-Jun-09 20:50
rakeshs31229-Jun-09 20:50 
AnswerRe: Mediaplayer version checking Pin
Akhmad Suaidi29-Jun-09 21:41
Akhmad Suaidi29-Jun-09 21:41 
QuestionHow can i convert a List to Dataset? Pin
Alim1234529-Jun-09 20:04
Alim1234529-Jun-09 20:04 

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.