Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows form global object Pin
Manoj Kumar Rai4-Aug-07 0:49
professionalManoj Kumar Rai4-Aug-07 0:49 
GeneralRe: Windows form global object Pin
Colin Angus Mackay4-Aug-07 0:52
Colin Angus Mackay4-Aug-07 0:52 
QuestionHow to open and read a file as a unicode char Pin
Life as a Coder3-Aug-07 23:32
Life as a Coder3-Aug-07 23:32 
AnswerRe: How to open and read a file as a unicode char Pin
Luc Pattyn3-Aug-07 23:52
sitebuilderLuc Pattyn3-Aug-07 23:52 
GeneralRe: How to open and read a file as a unicode char Pin
Life as a Coder4-Aug-07 0:03
Life as a Coder4-Aug-07 0:03 
GeneralRe: How to open and read a file as a unicode char Pin
Luc Pattyn4-Aug-07 0:17
sitebuilderLuc Pattyn4-Aug-07 0:17 
AnswerRe: How to open and read a file as a unicode char [modified] Pin
Guffa4-Aug-07 0:51
Guffa4-Aug-07 0:51 
AnswerRe: How to open and read a file as a unicode char Pin
Mike Dimmick4-Aug-07 3:36
Mike Dimmick4-Aug-07 3:36 
0xD8FF is a 'high surrogate' in UTF-16. It represents the first of a two code-unit pair that encodes a character outside the 16-bit Basic Multilingual Plane (anything over U+10000). Because it's not followed by the second code unit of the pair, a low surrogate, it's simply discarded as being illegal.

'Encoding.Unicode' really refers to the 16-bit scheme of encoding Unicode called UTF-16 or UCS-2. See UTF-16/UCS-2[^] on Wikipedia.

As the others have said, use a binary stream class, e.g. FileStream, and a method of reading that returns a byte array.

Stability. What an interesting concept. -- Chris Maunder

QuestionIs it possible to enable controls on the form from a class. Pin
Janu_M3-Aug-07 23:23
Janu_M3-Aug-07 23:23 
AnswerRe: Is it possible to enable controls on the form from a class. Pin
Luc Pattyn3-Aug-07 23:54
sitebuilderLuc Pattyn3-Aug-07 23:54 
GeneralRe: Is it possible to enable controls on the form from a class. Pin
Janu_M4-Aug-07 0:11
Janu_M4-Aug-07 0:11 
GeneralRe: Is it possible to enable controls on the form from a class. Pin
Colin Angus Mackay4-Aug-07 0:26
Colin Angus Mackay4-Aug-07 0:26 
GeneralRe: Is it possible to enable controls on the form from a class. Pin
Luc Pattyn4-Aug-07 0:32
sitebuilderLuc Pattyn4-Aug-07 0:32 
AnswerRe: Is it possible to enable controls on the form from a class. Pin
Developer6114-Aug-07 0:14
Developer6114-Aug-07 0:14 
AnswerRe: Is it possible to enable controls on the form from a class. Pin
Manoj Kumar Rai4-Aug-07 0:27
professionalManoj Kumar Rai4-Aug-07 0:27 
GeneralRe: Is it possible to enable controls on the form from a class. Pin
Colin Angus Mackay4-Aug-07 0:33
Colin Angus Mackay4-Aug-07 0:33 
GeneralRe: Is it possible to enable controls on the form from a class. Pin
Manoj Kumar Rai4-Aug-07 0:37
professionalManoj Kumar Rai4-Aug-07 0:37 
AnswerRe: Is it possible to enable controls on the form from a class. Pin
Janu_M4-Aug-07 0:41
Janu_M4-Aug-07 0:41 
GeneralRe: Is it possible to enable controls on the form from a class. Pin
Developer6114-Aug-07 0:44
Developer6114-Aug-07 0:44 
QuestionTo genrate a log in text box Pin
Hum Dum3-Aug-07 21:49
Hum Dum3-Aug-07 21:49 
AnswerRe: To genrate a log in text box Pin
Christian Graus3-Aug-07 22:03
protectorChristian Graus3-Aug-07 22:03 
GeneralRe: To genrate a log in text box Pin
Hum Dum3-Aug-07 22:28
Hum Dum3-Aug-07 22:28 
QuestionHOw can I recreate .sln file that was deleted by system restore Pin
TheCat0073-Aug-07 20:25
TheCat0073-Aug-07 20:25 
AnswerRe: HOw can I recreate .sln file that was deleted by system restore Pin
Christian Graus3-Aug-07 21:15
protectorChristian Graus3-Aug-07 21:15 
GeneralRe: HOw can I recreate .sln file that was deleted by system restore Pin
TheCat0075-Aug-07 4:13
TheCat0075-Aug-07 4:13 

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.