Click here to Skip to main content
15,908,455 members
Home / Discussions / C#
   

C#

 
QuestionDevice ID Pin
ellllllllie31-Aug-08 20:16
ellllllllie31-Aug-08 20:16 
AnswerRe: Device ID Pin
Brij31-Aug-08 20:33
mentorBrij31-Aug-08 20:33 
GeneralRe: Device ID Pin
ellllllllie31-Aug-08 23:45
ellllllllie31-Aug-08 23:45 
QuestionHow to get commandline parameter from User Pin
Laji5931-Aug-08 17:35
Laji5931-Aug-08 17:35 
AnswerRe: How to get commandline parameter from User Pin
Vikram A Punathambekar31-Aug-08 18:34
Vikram A Punathambekar31-Aug-08 18:34 
AnswerRe: How to get commandline parameter from User Pin
Brij31-Aug-08 18:35
mentorBrij31-Aug-08 18:35 
AnswerRe: How to get commandline parameter from User Pin
Pete O'Hanlon31-Aug-08 22:50
mvePete O'Hanlon31-Aug-08 22:50 
Question[Message Deleted] Pin
Sunset Towers31-Aug-08 13:47
Sunset Towers31-Aug-08 13:47 
AnswerRe: Search a masterpages and pages at design time for controls. Pin
AhsanS1-Sep-08 1:02
AhsanS1-Sep-08 1:02 
QuestionWhat exactly does the '@' symbol do in front of a string? Pin
jacobjordan31-Aug-08 13:33
jacobjordan31-Aug-08 13:33 
AnswerRe: What exactly does the '@' symbol do in front of a string? Pin
Sunset Towers31-Aug-08 13:52
Sunset Towers31-Aug-08 13:52 
AnswerRe: What exactly does the '@' symbol do in front of a string? Pin
Eslam Afifi31-Aug-08 14:08
Eslam Afifi31-Aug-08 14:08 
GeneralRe: What exactly does the '@' symbol do in front of a string? Pin
jacobjordan31-Aug-08 14:57
jacobjordan31-Aug-08 14:57 
AnswerRe: What exactly does the '@' symbol do in front of a string? Pin
Timmy Kokke1-Sep-08 0:02
Timmy Kokke1-Sep-08 0:02 
QuestionKEYPRESS SPY Pin
nelsonpaixao31-Aug-08 13:18
nelsonpaixao31-Aug-08 13:18 
AnswerRe: KEYPRESS SPY Pin
Sunset Towers31-Aug-08 13:55
Sunset Towers31-Aug-08 13:55 
AnswerRe: KEYPRESS SPY Pin
Harvey Saayman31-Aug-08 20:44
Harvey Saayman31-Aug-08 20:44 
GeneralRe: KEYPRESS SPY Pin
nelsonpaixao1-Sep-08 12:49
nelsonpaixao1-Sep-08 12:49 
QuestionEditing Registry For Default Browser Pin
Abydosgater31-Aug-08 13:18
Abydosgater31-Aug-08 13:18 
QuestionVisual Studio 2008 Report Viewer Pin
Jacob Dixon31-Aug-08 12:58
Jacob Dixon31-Aug-08 12:58 
AnswerRe: Visual Studio 2008 Report Viewer Pin
Jacob Dixon1-Sep-08 2:31
Jacob Dixon1-Sep-08 2:31 
QuestionWriting to a file at the specified position Pin
jacobjordan31-Aug-08 11:00
jacobjordan31-Aug-08 11:00 
AnswerRe: Writing to a file at the specified position Pin
Wendelius31-Aug-08 11:07
mentorWendelius31-Aug-08 11:07 
GeneralRe: Writing to a file at the specified position Pin
jacobjordan31-Aug-08 11:29
jacobjordan31-Aug-08 11:29 
GeneralRe: Writing to a file at the specified position Pin
Wendelius31-Aug-08 11:45
mentorWendelius31-Aug-08 11:45 
In that case I believe you have to do it in parts:
- create a stream for new file / memorystream
- read first portion of the original file and write it to output stream
- append needed data to output stream
- read the second portion of the original file and write it to output stream
- close the original file and write over it based on previous output stream.

Of course this can be varied (read only the second portion into memory and write over it in file with new data + what's in memory etc).

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.