Click here to Skip to main content
15,895,829 members
Home / Discussions / C#
   

C#

 
AnswerRe: Events related to the selection of text on a multiline textbox Pin
Arun Jacob7-Apr-10 2:15
Arun Jacob7-Apr-10 2:15 
GeneralRe: Events related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 7:18
_ASPAle_7-Apr-10 7:18 
QuestionCrystal Report with Dynamic Picture Pin
sachees1237-Apr-10 0:13
sachees1237-Apr-10 0:13 
QuestionReplacing objects, handling clones, dealing with write logs [modified] Pin
blackblizzard6-Apr-10 23:45
blackblizzard6-Apr-10 23:45 
AnswerRe: Replacing objects, handling clones, dealing with write logs Pin
Stanciu Vlad8-Apr-10 11:45
Stanciu Vlad8-Apr-10 11:45 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
blackblizzard9-Apr-10 0:07
blackblizzard9-Apr-10 0:07 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
Stanciu Vlad9-Apr-10 4:44
Stanciu Vlad9-Apr-10 4:44 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
blackblizzard10-Apr-10 23:29
blackblizzard10-Apr-10 23:29 
Hi Stanciu. Thanks for your answer.
What you describe is very similar to what I do. I actually have class called TransactionContext Big Grin | :-D
But... I have problems with the following:
Stanciu Vlad wrote:
In the transaction context the user can do whatever he likes with the objects, because when he commits the transaction, the whole transaction context (meaning the changed objects) replaces the system workspace.

Yes, but that requires registering the reads/writes somehow, and I don't know how to do that without tracking the objects. I do have write logs and read logs where I will register such accesses, but I don't know how to detect the accesses without somehow extending the code of the object's class to make the object notify them when they happen.

Actually, ideally what I'd like is to be able to write a monitoring agent that sees the bytecode that is running and registers every read/write, but I don't know how to do this in C#. I do know how to write the agent, but I don't know how to "plug it in" so that it can see the running bytecode. If you know how to do this it would pretty much solve all my problems, and I like it way better than what I'm doing right now -- which by the way doesn't work Roll eyes | :rolleyes:

Apart from that, my locking policy is slightly different, etc, but it would work if I can detect and register accesses correctly.

Thanks again for your answer Smile | :)
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
Stanciu Vlad11-Apr-10 21:30
Stanciu Vlad11-Apr-10 21:30 
GeneralRe: Replacing objects, handling clones, dealing with write logs Pin
blackblizzard11-Apr-10 21:43
blackblizzard11-Apr-10 21:43 
Questionlocal file or public variables - what do oyu think? Pin
Jassim Rahma6-Apr-10 23:20
Jassim Rahma6-Apr-10 23:20 
AnswerRe: local file or public variables - what do oyu think? Pin
Mustafa Ismail Mustafa6-Apr-10 23:34
Mustafa Ismail Mustafa6-Apr-10 23:34 
GeneralRe: local file or public variables - what do oyu think? Pin
Jassim Rahma6-Apr-10 23:42
Jassim Rahma6-Apr-10 23:42 
GeneralRe: local file or public variables - what do oyu think? Pin
Mustafa Ismail Mustafa7-Apr-10 0:40
Mustafa Ismail Mustafa7-Apr-10 0:40 
GeneralRe: local file or public variables - what do oyu think? Pin
harold aptroot7-Apr-10 0:41
harold aptroot7-Apr-10 0:41 
AnswerRe: local file or public variables - what do oyu think? Pin
PIEBALDconsult7-Apr-10 3:49
mvePIEBALDconsult7-Apr-10 3:49 
QuestionProblem with printDocument1.PrinterSettings.Copies Pin
Reza Shojaee6-Apr-10 21:43
Reza Shojaee6-Apr-10 21:43 
QuestionScaleTransform Pin
Hema Bairavan6-Apr-10 21:24
Hema Bairavan6-Apr-10 21:24 
AnswerRe: ScaleTransform Pin
Luc Pattyn6-Apr-10 23:16
sitebuilderLuc Pattyn6-Apr-10 23:16 
QuestionNotify users Pin
Morgs Morgan6-Apr-10 20:30
Morgs Morgan6-Apr-10 20:30 
AnswerRe: Notify users Pin
Greg Chelstowski6-Apr-10 21:32
Greg Chelstowski6-Apr-10 21:32 
GeneralRe: Notify users Pin
Morgs Morgan6-Apr-10 21:37
Morgs Morgan6-Apr-10 21:37 
GeneralRe: Notify users Pin
Greg Chelstowski6-Apr-10 21:42
Greg Chelstowski6-Apr-10 21:42 
Questionrecord no update Pin
mjawadkhatri6-Apr-10 20:05
mjawadkhatri6-Apr-10 20:05 
AnswerRe: record no update Pin
OriginalGriff6-Apr-10 22:25
mveOriginalGriff6-Apr-10 22:25 

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.