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

C#

 
AnswerRe: c# form on focus Pin
EliottA18-Dec-09 5:28
EliottA18-Dec-09 5:28 
GeneralRe: c# form on focus Pin
benjamin yap18-Dec-09 5:33
benjamin yap18-Dec-09 5:33 
GeneralRe: c# form on focus Pin
EliottA18-Dec-09 5:33
EliottA18-Dec-09 5:33 
GeneralRe: c# form on focus Pin
jashimu18-Dec-09 5:54
jashimu18-Dec-09 5:54 
GeneralRe: c# form on focus Pin
Luc Pattyn18-Dec-09 5:55
sitebuilderLuc Pattyn18-Dec-09 5:55 
GeneralRe: c# form on focus Pin
benjamin yap18-Dec-09 6:13
benjamin yap18-Dec-09 6:13 
GeneralRe: c# form on focus Pin
Luc Pattyn18-Dec-09 6:27
sitebuilderLuc Pattyn18-Dec-09 6:27 
GeneralRe: c# form on focus Pin
EliottA18-Dec-09 6:46
EliottA18-Dec-09 6:46 
QuestionSAPI Training From Wav File Pin
mudrugger18-Dec-09 4:24
mudrugger18-Dec-09 4:24 
AnswerRe: SAPI Training From Wav File Pin
Migounette18-Dec-09 13:42
Migounette18-Dec-09 13:42 
GeneralRe: SAPI Training From Wav File Pin
mudrugger18-Dec-09 14:17
mudrugger18-Dec-09 14:17 
GeneralRe: SAPI Training From Wav File Pin
Migounette19-Dec-09 7:01
Migounette19-Dec-09 7:01 
GeneralRe: SAPI Training From Wav File Pin
mudrugger21-Dec-09 2:17
mudrugger21-Dec-09 2:17 
GeneralRe: SAPI Training From Wav File Pin
taneem78511-Mar-10 3:30
taneem78511-Mar-10 3:30 
GeneralRe: SAPI Training From Wav File Pin
mudrugger1-Mar-10 8:15
mudrugger1-Mar-10 8:15 
GeneralRe: SAPI Training From Wav File Pin
aidesigner30-Nov-11 17:21
aidesigner30-Nov-11 17:21 
QuestionColor dropdown for new Toolstrip [modified] Pin
Jim Crafton18-Dec-09 4:08
Jim Crafton18-Dec-09 4:08 
QuestionShift operator [modified] Pin
thungphan18-Dec-09 3:23
thungphan18-Dec-09 3:23 
AnswerRe: Shift operator Pin
thungphan18-Dec-09 4:30
thungphan18-Dec-09 4:30 
GeneralRe: Shift operator Pin
Rob Philpott18-Dec-09 4:42
Rob Philpott18-Dec-09 4:42 
GeneralRe: Shift operator Pin
thungphan18-Dec-09 4:54
thungphan18-Dec-09 4:54 
AnswerRe: Shift operator Pin
harold aptroot18-Dec-09 4:55
harold aptroot18-Dec-09 4:55 
AnswerRe: Shift operator Pin
Luc Pattyn18-Dec-09 5:09
sitebuilderLuc Pattyn18-Dec-09 5:09 
AnswerRe: Shift operator Pin
thungphan18-Dec-09 17:05
thungphan18-Dec-09 17:05 
byte b0=GetByte(); // after these four commands
byte b1=GetByte(); // b0, b1, b2, b3 have values
byte b2=GetByte(); // 
byte b3=GetByte(); //
int vr= + b1;
if ((b0<<8+b1)==0x4F42)
{
    int length;
    if (littleEndian)
       length=(b3<<24) + (b2<<16) + (b1<<8) + b0;
    else
       length=(b0<<24) + (b1<<16) + (b2<<8) + b3;
} 

Now I have a value of length variable and to convert inverse direction. I'd like to gain b0, b1, b2, b3.
And those gained b0, b1 must ensure when apply (b0<<8) + b1 will be equal to 0x4F42 again.
That's what I want to. Before i try to simplify my problem but unfortunately i made it difficult to understand for you.
Please help me! Thank you so much!
GeneralRe: Shift operator Pin
harold aptroot19-Dec-09 3:29
harold aptroot19-Dec-09 3:29 

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.