Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Recording from Microphone to mp3 Pin
MoustafaS23-Apr-07 7:30
MoustafaS23-Apr-07 7:30 
QuestionFinding updated records in Access db Pin
Richard Blythe23-Apr-07 5:21
Richard Blythe23-Apr-07 5:21 
AnswerRe: Finding updated records in Access db Pin
Dave Kreskowiak23-Apr-07 6:05
mveDave Kreskowiak23-Apr-07 6:05 
GeneralRe: Finding updated records in Access db Pin
Richard Blythe23-Apr-07 6:27
Richard Blythe23-Apr-07 6:27 
QuestionUnknown Error Message Pin
JMOdom23-Apr-07 5:12
JMOdom23-Apr-07 5:12 
AnswerRe: Unknown Error Message Pin
kubben23-Apr-07 5:41
kubben23-Apr-07 5:41 
AnswerRe: Unknown Error Message Pin
Jon Sagara23-Apr-07 6:35
Jon Sagara23-Apr-07 6:35 
AnswerRe: Unknown Error Message Pin
Vikram A Punathambekar23-Apr-07 6:59
Vikram A Punathambekar23-Apr-07 6:59 
GeneralRe: Unknown Error Message Pin
JMOdom23-Apr-07 7:58
JMOdom23-Apr-07 7:58 
QuestionHow to convert .gif file contains text only to .doc formate in asp.net Pin
attalurisubbu23-Apr-07 4:49
attalurisubbu23-Apr-07 4:49 
AnswerRe: How to convert .gif file contains text only to .doc formate in asp.net Pin
Dave Kreskowiak23-Apr-07 5:56
mveDave Kreskowiak23-Apr-07 5:56 
QuestionHow Making windows Fax Services to send multiple faxes. Pin
Eddymvp23-Apr-07 4:33
Eddymvp23-Apr-07 4:33 
QuestionTrying to understand the Factory Pattern Pin
martin_hughes23-Apr-07 4:29
martin_hughes23-Apr-07 4:29 
AnswerRe: Trying to understand the Factory Pattern Pin
Vikram A Punathambekar23-Apr-07 7:13
Vikram A Punathambekar23-Apr-07 7:13 
AnswerRe: Trying to understand the Factory Pattern Pin
Edmundisme23-Apr-07 11:00
Edmundisme23-Apr-07 11:00 
AnswerRe: Trying to understand the Factory Pattern Pin
martin_hughes10-May-07 8:41
martin_hughes10-May-07 8:41 
QuestionByte conversion fails Pin
AAKAra23-Apr-07 4:25
AAKAra23-Apr-07 4:25 
AnswerRe: Byte conversion fails Pin
Judah Gabriel Himango23-Apr-07 4:28
sponsorJudah Gabriel Himango23-Apr-07 4:28 
GeneralRe: Byte conversion fails Pin
AAKAra23-Apr-07 4:31
AAKAra23-Apr-07 4:31 
GeneralRe: Byte conversion fails Pin
Judah Gabriel Himango23-Apr-07 4:43
sponsorJudah Gabriel Himango23-Apr-07 4:43 
GeneralRe: Byte conversion fails Pin
AAKAra23-Apr-07 4:50
AAKAra23-Apr-07 4:50 
GeneralRe: Byte conversion fails Pin
AAKAra23-Apr-07 7:55
AAKAra23-Apr-07 7:55 
AnswerRe: Byte conversion fails Pin
Luc Pattyn23-Apr-07 8:29
sitebuilderLuc Pattyn23-Apr-07 8:29 
AnilUnni wrote:
aGroup[arrayIndex] = (byte)(0<< (arrayIndex % 8));


is completely wrong:

1. the array index needs a /8
2. to clear a bit within a byte without affecting the other bits, you need:
either AND with the complement of that bit
or first SET the bit, then EXOR the same bit (to clear it)

Smile | :)



Luc Pattyn

[My Articles]

GeneralRe: Byte conversion fails [modified] Pin
AAKAra23-Apr-07 9:04
AAKAra23-Apr-07 9:04 
GeneralRe: Byte conversion fails Pin
Luc Pattyn23-Apr-07 9:37
sitebuilderLuc Pattyn23-Apr-07 9:37 

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.