Click here to Skip to main content
15,898,980 members
Home / Discussions / C#
   

C#

 
Questionreading xml file in C# Pin
S Palip23-Jul-07 0:57
S Palip23-Jul-07 0:57 
AnswerRe: reading xml file in C# Pin
Christian Graus23-Jul-07 1:00
protectorChristian Graus23-Jul-07 1:00 
GeneralRe: reading xml file in C# Pin
S Palip23-Jul-07 15:21
S Palip23-Jul-07 15:21 
AnswerRe: reading xml file in C# Pin
WillemM23-Jul-07 1:01
WillemM23-Jul-07 1:01 
AnswerRe: reading xml file in C# Pin
Kevin McFarlane23-Jul-07 1:55
Kevin McFarlane23-Jul-07 1:55 
Questionusing user control Pin
cyn823-Jul-07 0:47
cyn823-Jul-07 0:47 
QuestionHandling Large Memory Pin
satsumatable23-Jul-07 0:26
satsumatable23-Jul-07 0:26 
AnswerRe: Handling Large Memory Pin
WillemM23-Jul-07 1:04
WillemM23-Jul-07 1:04 
Depending on how you are implementing the interface to change the data it can be quite simple or very complex. If you do it like this:

public void ChangeData(int offset,byte newData) {
  if(offset < 0 || offset > memoryMap.Size) {
    throw new ArgumentException(offset);
  }

  memoryMap.Seek(offset,SeekOrigin.Begin);
  memoryMap.Write(newData);

  if(MemoryMapChanged != null) {
    MemoryMapChanged(this,new MemoryMapChangedEventArgs(offset));
  }
}


it's pretty simple to detect changes.
(memoryMap is a MemoryStream or a FileStream configured for read/write access)



WM.

What about weapons of mass-construction?

"What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson
My blog

QuestionExecute program automatically at a prescribed time daily. Pin
javid4u23-Jul-07 0:17
javid4u23-Jul-07 0:17 
AnswerRe: Execute program automatically at a prescribed time daily. Pin
Pete O'Hanlon23-Jul-07 0:41
mvePete O'Hanlon23-Jul-07 0:41 
GeneralRe: Execute program automatically at a prescribed time daily. Pin
javid4u23-Jul-07 0:53
javid4u23-Jul-07 0:53 
QuestionGeneric Edit/Copy, Paste, Cut items in WinForms Pin
AndrusM23-Jul-07 0:05
AndrusM23-Jul-07 0:05 
AnswerRe: Generic Edit/Copy, Paste, Cut items in WinForms Pin
Christian Graus23-Jul-07 0:14
protectorChristian Graus23-Jul-07 0:14 
QuestionDeleting temporary file Pin
-spy-22-Jul-07 23:57
-spy-22-Jul-07 23:57 
AnswerRe: Deleting temporary file Pin
blackjack215023-Jul-07 0:05
blackjack215023-Jul-07 0:05 
AnswerRe: Deleting temporary file Pin
Luc Pattyn23-Jul-07 1:52
sitebuilderLuc Pattyn23-Jul-07 1:52 
AnswerRe: Deleting temporary file Pin
L Henson23-Jul-07 2:42
L Henson23-Jul-07 2:42 
QuestionCursor Dispose Problem Pin
Keshav V. Kamat22-Jul-07 23:43
Keshav V. Kamat22-Jul-07 23:43 
AnswerRe: Cursor Dispose Problem Pin
Luc Pattyn23-Jul-07 2:01
sitebuilderLuc Pattyn23-Jul-07 2:01 
QuestionPdf File Creation Pin
karthikeyanic22-Jul-07 23:32
karthikeyanic22-Jul-07 23:32 
AnswerRe: Pdf File Creation Pin
blackjack215022-Jul-07 23:55
blackjack215022-Jul-07 23:55 
GeneralRe: Pdf File Creation Pin
javid4u23-Jul-07 0:16
javid4u23-Jul-07 0:16 
Questiondatagrid problem Pin
srinivassam22-Jul-07 23:28
srinivassam22-Jul-07 23:28 
AnswerRe: datagrid problem Pin
satsumatable23-Jul-07 0:33
satsumatable23-Jul-07 0:33 
GeneralRe: datagrid problem Pin
srinivassam23-Jul-07 1:24
srinivassam23-Jul-07 1:24 

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.