Click here to Skip to main content
12,446,850 members (52,148 online)
   

C#

 
GeneralRe: Crystal report Pin
hitesh.kalra5-May-09 23:56
memberhitesh.kalra5-May-09 23:56 
GeneralRe: Crystal report Pin
Sun Rays 6-May-09 0:01
member Sun Rays 6-May-09 0:01 
GeneralRe: Crystal report Pin
hitesh.kalra6-May-09 0:03
memberhitesh.kalra6-May-09 0:03 
GeneralRe: Crystal report Pin
Sun Rays 6-May-09 0:28
member Sun Rays 6-May-09 0:28 
Questioncmd.exe standardinput problem, please help?!?! Pin
Druuler5-May-09 23:41
memberDruuler5-May-09 23:41 
AnswerRe: cmd.exe standardinput problem, please help?!?! Pin
12Code6-May-09 0:25
member12Code6-May-09 0:25 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
Druuler6-May-09 0:31
memberDruuler6-May-09 0:31 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
12Code6-May-09 0:45
member12Code6-May-09 0:45 
GeneralRe: cmd.exe standardinput problem, please help?!?! Pin
Druuler6-May-09 1:18
memberDruuler6-May-09 1:18 
QuestionExtended Ascii charaters are not written in the text file.... Pin
King Julien5-May-09 23:37
memberKing Julien5-May-09 23:37 
AnswerRe: Extended Ascii charaters are not written in the text file.... Pin
OriginalGriff5-May-09 23:50
memberOriginalGriff5-May-09 23:50 
GeneralRe: Extended Ascii charaters are not written in the text file.... Pin
King Julien6-May-09 0:22
memberKing Julien6-May-09 0:22 
GeneralRe: Extended Ascii charaters are not written in the text file.... Pin
OriginalGriff6-May-09 0:41
memberOriginalGriff6-May-09 0:41 
AnswerRe: Extended Ascii charaters are not written in the text file.... Pin
Guffa6-May-09 4:18
mvpGuffa6-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
memberKing Julien6-May-09 4:37 
QuestionMouseDown Event? [modified] Pin
Megidolaon5-May-09 23:25
memberMegidolaon5-May-09 23:25 
AnswerRe: MouseDown Event? Pin
Alex@UEA5-May-09 23:40
memberAlex@UEA5-May-09 23:40 
AnswerRe: MouseDown Event? Pin
OriginalGriff6-May-09 0:00
memberOriginalGriff6-May-09 0:00 
GeneralRe: MouseDown Event? Pin
Megidolaon7-May-09 20:51
memberMegidolaon7-May-09 20:51 
GeneralRe: MouseDown Event? Pin
OriginalGriff7-May-09 21:58
memberOriginalGriff7-May-09 21:58 
AnswerRe: MouseDown Event? Pin
Member 3046636-May-09 6:54
memberMember 3046636-May-09 6:54 
QuestionExporting excel to pdf Pin
tauras815-May-09 23:15
membertauras815-May-09 23:15 
AnswerRe: Exporting excel to pdf Pin
Mycroft Holmes5-May-09 23:26
memberMycroft Holmes5-May-09 23:26 
GeneralRe: Exporting excel to pdf Pin
tauras816-May-09 0:14
membertauras816-May-09 0:14 
QuestionInvalid attempt to call MetaData when reader is closed. Pin
Vuyiswa Maseko5-May-09 23:10
memberVuyiswa Maseko5-May-09 23:10 
AnswerRe: Invalid attempt to call MetaData when reader is closed. Pin
Mycroft Holmes5-May-09 23:24
memberMycroft Holmes5-May-09 23:24 
GeneralRe: Invalid attempt to call MetaData when reader is closed. Pin
Vuyiswa Maseko5-May-09 23:37
memberVuyiswa Maseko5-May-09 23:37 
GeneralRe: Invalid attempt to call MetaData when reader is closed. Pin
Mycroft Holmes6-May-09 14:16
memberMycroft Holmes6-May-09 14:16 
GeneralRe: Invalid attempt to call MetaData when reader is closed. Pin
Vuyiswa Maseko7-May-09 3:08
memberVuyiswa Maseko7-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
memberMember 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
memberMycroft Holmes5-May-09 23:19 
GeneralRe: The process cannot access the file '' because it is being used by another process Pin
ToolMaker20078-May-09 0:58
memberToolMaker20078-May-09 0:58 
GeneralRe: The process cannot access the file '' because it is being used by another process Pin
ToolMaker20078-May-09 1:06
memberToolMaker20078-May-09 1:06 
AnswerRe: The process cannot access the file '' because it is being used by another process Pin
Member 33520014-Aug-10 21:45
memberMember 33520014-Aug-10 21:45 
Questionwith out exponent value need in float Pin
Member 38798815-May-09 22:58
memberMember 38798815-May-09 22:58 
AnswerRe: with out exponent value need in float Pin
OriginalGriff5-May-09 23:19
memberOriginalGriff5-May-09 23:19 
QuestionSqlBulkCopy that can do UPDATE Pin
lakhwinder.ghuman5-May-09 22:00
memberlakhwinder.ghuman5-May-09 22:00 
AnswerRe: SqlBulkCopy that can do UPDATE Pin
Mycroft Holmes5-May-09 22:27
memberMycroft Holmes5-May-09 22:27 
AnswerRe: SqlBulkCopy that can do UPDATE Pin
Member 33520014-Aug-10 21:47
memberMember 33520014-Aug-10 21:47 
QuestionHmm... External Methods? Pin
jas0n235-May-09 21:47
memberjas0n235-May-09 21:47 
AnswerRe: Hmm... External Methods? Pin
Pete O'Hanlon5-May-09 22:18
mvpPete O'Hanlon5-May-09 22:18 
GeneralRe: Hmm... External Methods? Pin
jas0n236-May-09 0:45
memberjas0n236-May-09 0:45 
QuestionHow i use the connection string for making a connection object.. Pin
ddravin20005-May-09 21:33
memberddravin20005-May-09 21:33 
AnswerRe: How i use the connection string for making a connection object.. Pin
Member 44703545-May-09 21:42
memberMember 44703545-May-09 21:42 
GeneralRe: How i use the connection string for making a connection object.. Pin
ddravin20005-May-09 21:54
memberddravin20005-May-09 21:54 
AnswerRe: How i use the connection string for making a connection object.. Pin
Member 44703545-May-09 22:01
memberMember 44703545-May-09 22:01 
QuestionProblem with Datagrid Pin
yueru5-May-09 21:30
memberyueru5-May-09 21:30 
AnswerRe: Problem with Datagrid Pin
Mycroft Holmes5-May-09 21:34
memberMycroft Holmes5-May-09 21:34 
GeneralRe: Problem with Datagrid Pin
yueru5-May-09 22:02
memberyueru5-May-09 22:02 
QuestionDebuging is not working in visual studio Pin
mahesvs5-May-09 21:18
membermahesvs5-May-09 21:18 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 25 Aug 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid