Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
QuestionWindows Service - VS2005 c# Pin
NicSch16-Jan-07 2:10
NicSch16-Jan-07 2:10 
AnswerRe: Windows Service - VS2005 c# Pin
Pete O'Hanlon16-Jan-07 2:54
mvePete O'Hanlon16-Jan-07 2:54 
GeneralRe: Windows Service - VS2005 c# Pin
NicSch16-Jan-07 18:04
NicSch16-Jan-07 18:04 
QuestionBinary .dat files Pin
KeithF16-Jan-07 1:54
KeithF16-Jan-07 1:54 
AnswerRe: Binary .dat files Pin
Ed.Poore16-Jan-07 2:13
Ed.Poore16-Jan-07 2:13 
AnswerRe: Binary .dat files Pin
ednrgc16-Jan-07 2:15
ednrgc16-Jan-07 2:15 
GeneralRe: Binary .dat files Pin
KeithF16-Jan-07 2:22
KeithF16-Jan-07 2:22 
AnswerRe: Binary .dat files Pin
Luc Pattyn16-Jan-07 3:19
sitebuilderLuc Pattyn16-Jan-07 3:19 
Use BinaryReader and its specialized methods such as ReadInt16 as appropriate.

Do not assume you can read everything using strings, that will fail due to terminating nulls,
and the difference between ASCII and Unicode.

Also be careful when reading characters:
if the file got created by a C/C++ program using char (8 bit each), you should read each char
with ReadByte and convert to Char (which takes 16-bit).

Smile | :)

Luc Pattyn

GeneralRe: Binary .dat files Pin
KeithF16-Jan-07 5:49
KeithF16-Jan-07 5:49 
QuestionTcpClient.Connect(...) taking too much time ! Pin
Zoltan Balazs16-Jan-07 1:42
Zoltan Balazs16-Jan-07 1:42 
Questiongetfiles problem Pin
justintimberlake16-Jan-07 1:19
justintimberlake16-Jan-07 1:19 
AnswerRe: getfiles problem Pin
ednrgc16-Jan-07 1:49
ednrgc16-Jan-07 1:49 
AnswerRe: getfiles problem Pin
KeithF16-Jan-07 2:59
KeithF16-Jan-07 2:59 
Questionproblem with <iframe> tag. Pin
hdv21216-Jan-07 1:14
hdv21216-Jan-07 1:14 
AnswerRe: problem with <iframe> tag. Pin
ednrgc16-Jan-07 1:51
ednrgc16-Jan-07 1:51 
Questioncommunicate to usb with c# Pin
guy222216-Jan-07 0:56
guy222216-Jan-07 0:56 
AnswerRe: communicate to usb with c# Pin
ednrgc16-Jan-07 1:55
ednrgc16-Jan-07 1:55 
QuestionSOAP serializable. Pin
topcatalpha16-Jan-07 0:43
topcatalpha16-Jan-07 0:43 
AnswerRe: SOAP serializable. Pin
topcatalpha16-Jan-07 1:39
topcatalpha16-Jan-07 1:39 
Questioncopy array string to by byte array Pin
Jeeva Jose16-Jan-07 0:26
Jeeva Jose16-Jan-07 0:26 
AnswerRe: copy array string to by byte array Pin
goyal manish16-Jan-07 1:04
goyal manish16-Jan-07 1:04 
AnswerRe: copy array string to by byte array Pin
Guffa16-Jan-07 3:04
Guffa16-Jan-07 3:04 
QuestionComplex user control not responding to click events Pin
robalexclark15-Jan-07 23:40
robalexclark15-Jan-07 23:40 
AnswerRe: Complex user control not responding to click events Pin
Luc Pattyn16-Jan-07 0:12
sitebuilderLuc Pattyn16-Jan-07 0:12 
GeneralRe: Complex user control not responding to click events Pin
robalexclark16-Jan-07 1:05
robalexclark16-Jan-07 1:05 

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.