Click here to Skip to main content
15,887,340 members
Home / Discussions / C#
   

C#

 
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 
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 
gwithey wrote:
Was just hoping i could declaire it and give it a value in the switch without it complaining. The flow was being forced through the switch so though it would work.


No, it wouldn't work: that is the whole point.
To cut down your code a little:
byte[] rxData;
rxData[0] = rxMessage[4];

You would still get your compile error, since rxData is null, thus rxData[0] does not exist. This is why the compiler complains.
byte[] rxData = new byte[1024];
rxData[0] = rxMessage[4];

Is fine, since rxData is no longer null, and rxData[0] (through rxData[1023]) exists and can be assigned.

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

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 
AnswerRe: How can i convert a List to Dataset? Pin
himanshu256129-Jun-09 20:53
himanshu256129-Jun-09 20:53 
QuestionDatabe create by Programmatically but Password not create Pin
khosnur29-Jun-09 19:01
khosnur29-Jun-09 19:01 
AnswerIgnore repost Pin
Manas Bhardwaj29-Jun-09 22:00
professionalManas Bhardwaj29-Jun-09 22:00 
QuestionCreate database in windows mobile but dont create password Pin
khosnur29-Jun-09 18:48
khosnur29-Jun-09 18:48 

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.