Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: Outlook Pin
Judah Gabriel Himango23-Mar-06 6:11
sponsorJudah Gabriel Himango23-Mar-06 6:11 
GeneralRe: Outlook Pin
Talktorajeev23-Mar-06 16:13
Talktorajeev23-Mar-06 16:13 
GeneralRe: Outlook Pin
Judah Gabriel Himango23-Mar-06 16:30
sponsorJudah Gabriel Himango23-Mar-06 16:30 
QuestionPlease see this problem..... Pin
sam_g123-Mar-06 1:08
sam_g123-Mar-06 1:08 
AnswerRe: Please see this problem..... Pin
Adiphe23-Mar-06 1:20
Adiphe23-Mar-06 1:20 
GeneralRe: thanks Adiphe Pin
sam_g123-Mar-06 1:38
sam_g123-Mar-06 1:38 
QuestionHelp needed !!!! Pin
Ahmad Mahmoud [candseeme]23-Mar-06 0:53
Ahmad Mahmoud [candseeme]23-Mar-06 0:53 
AnswerRe: Help needed !!!! Pin
mav.northwind23-Mar-06 3:53
mav.northwind23-Mar-06 3:53 
Hi!
Try this code:
FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.ReadWrite);
BinaryReader br = new BinaryReader(fs);
BinaryWriter bw = new BinaryWriter(fs);
fs.Seek(123, SeekOrigin.Begin); // start reading with 123 bytes offset
byte[] buf = br.ReadBytes(16);
for (int i=0; i<buf.Length; i++)
  buf[i] ^= 128;
fs.Seek(123, SeekOrigin.Begin);
bw.Write(buf);
bw.Close(); // the underlying stream is closed as well
MessageBox.Show("Congratulations, you have ruined '"+filePath+"'!");
Wink | ;)

Regards,
mav

--
Black holes are the places where god divided by 0...
QuestionHow to access unmanaged function in c# Pin
Killer323-Mar-06 0:29
Killer323-Mar-06 0:29 
AnswerRe: How to access unmanaged function in c# Pin
NassosReyzidis23-Mar-06 0:36
NassosReyzidis23-Mar-06 0:36 
AnswerRe: How to access unmanaged function in c# Pin
AB777123-Mar-06 0:53
AB777123-Mar-06 0:53 
NewsRe: How to access unmanaged function in c# Pin
leppie23-Mar-06 2:17
leppie23-Mar-06 2:17 
GeneralRe: How to access unmanaged function in c# Pin
AB777123-Mar-06 2:38
AB777123-Mar-06 2:38 
GeneralRe: How to access unmanaged function in c# Pin
J4amieC23-Mar-06 2:50
J4amieC23-Mar-06 2:50 
GeneralRe: How to access unmanaged function in c# Pin
Richard Andrew x6423-Mar-06 3:34
professionalRichard Andrew x6423-Mar-06 3:34 
GeneralRe: How to access unmanaged function in c# Pin
J4amieC23-Mar-06 4:00
J4amieC23-Mar-06 4:00 
Questioncrash dump files Pin
Mridang Agarwalla23-Mar-06 0:07
Mridang Agarwalla23-Mar-06 0:07 
AnswerRe: crash dump files Pin
Adiphe23-Mar-06 0:50
Adiphe23-Mar-06 0:50 
AnswerRe: crash dump files Pin
leppie23-Mar-06 2:21
leppie23-Mar-06 2:21 
QuestionCreate .wav file with C# Pin
Adiphe22-Mar-06 23:53
Adiphe22-Mar-06 23:53 
AnswerRe: Create .wav file with C# Pin
mav.northwind23-Mar-06 3:21
mav.northwind23-Mar-06 3:21 
QuestionListView Question Pin
JacquesDP22-Mar-06 23:07
JacquesDP22-Mar-06 23:07 
AnswerRe: ListView Question Pin
Ahmad Mahmoud [candseeme]22-Mar-06 23:44
Ahmad Mahmoud [candseeme]22-Mar-06 23:44 
GeneralRe: ListView Question Pin
JacquesDP22-Mar-06 23:48
JacquesDP22-Mar-06 23:48 
GeneralRe: ListView Question Pin
Ahmad Mahmoud [candseeme]23-Mar-06 0:40
Ahmad Mahmoud [candseeme]23-Mar-06 0:40 

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.