Click here to Skip to main content
15,881,649 members
Home / Discussions / C#
   

C#

 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
Druuler6-May-09 0:31
Druuler6-May-09 0:31 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
12Code6-May-09 0:45
12Code6-May-09 0:45 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
Druuler6-May-09 1:18
Druuler6-May-09 1:18 
QuestionExtended Ascii charaters are not written in the text file.... Pin
King Julien5-May-09 23:37
King Julien5-May-09 23:37 
AnswerRe: Extended Ascii charaters are not written in the text file.... Pin
OriginalGriff5-May-09 23:50
mveOriginalGriff5-May-09 23:50 
GeneralRe: Extended Ascii charaters are not written in the text file.... Pin
King Julien6-May-09 0:22
King Julien6-May-09 0:22 
GeneralRe: Extended Ascii charaters are not written in the text file.... Pin
OriginalGriff6-May-09 0:41
mveOriginalGriff6-May-09 0:41 
AnswerRe: Extended Ascii charaters are not written in the text file.... Pin
Guffa6-May-09 4:18
Guffa6-May-09 4:18 
You can't use GetChars to decode the encrypted data into text, as it's not text that was encoded in the first place.

If you want to represent the data as text, you can for example use base64 encoding:
string text = Convert.ToBase64String(encryptedData);

If you want to save the data to the file without changing it, you should write it as bytes, not as text:
File.WriteAllBytes(FilePath, encryptedData);


Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Extended Ascii charaters are not written in the text file.... Pin
King Julien6-May-09 4:37
King Julien6-May-09 4:37 
QuestionMouseDown Event? [modified] Pin
Megidolaon5-May-09 23:25
Megidolaon5-May-09 23:25 
AnswerRe: MouseDown Event? Pin
Alex@UEA5-May-09 23:40
Alex@UEA5-May-09 23:40 
AnswerRe: MouseDown Event? Pin
OriginalGriff6-May-09 0:00
mveOriginalGriff6-May-09 0:00 
GeneralRe: MouseDown Event? Pin
Megidolaon7-May-09 20:51
Megidolaon7-May-09 20:51 
GeneralRe: MouseDown Event? Pin
OriginalGriff7-May-09 21:58
mveOriginalGriff7-May-09 21:58 
AnswerRe: MouseDown Event? Pin
Member 3046636-May-09 6:54
Member 3046636-May-09 6:54 
QuestionExporting excel to pdf Pin
tauras815-May-09 23:15
tauras815-May-09 23:15 
AnswerRe: Exporting excel to pdf Pin
Mycroft Holmes5-May-09 23:26
professionalMycroft Holmes5-May-09 23:26 
GeneralRe: Exporting excel to pdf Pin
tauras816-May-09 0:14
tauras816-May-09 0:14 
QuestionInvalid attempt to call MetaData when reader is closed. Pin
Vimalsoft(Pty) Ltd5-May-09 23:10
professionalVimalsoft(Pty) Ltd5-May-09 23:10 
AnswerRe: Invalid attempt to call MetaData when reader is closed. Pin
Mycroft Holmes5-May-09 23:24
professionalMycroft Holmes5-May-09 23:24 
GeneralRe: Invalid attempt to call MetaData when reader is closed. Pin
Vimalsoft(Pty) Ltd5-May-09 23:37
professionalVimalsoft(Pty) Ltd5-May-09 23:37 
GeneralRe: Invalid attempt to call MetaData when reader is closed. Pin
Mycroft Holmes6-May-09 14:16
professionalMycroft Holmes6-May-09 14:16 
GeneralRe: Invalid attempt to call MetaData when reader is closed. Pin
Vimalsoft(Pty) Ltd7-May-09 3:08
professionalVimalsoft(Pty) Ltd7-May-09 3:08 
QuestionThe process cannot access the file '' because it is being used by another process Pin
Member 39664155-May-09 22:59
Member 39664155-May-09 22:59 
AnswerRe: The process cannot access the file '' because it is being used by another process Pin
Mycroft Holmes5-May-09 23:19
professionalMycroft Holmes5-May-09 23:19 

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.