Click here to Skip to main content
15,885,365 members
Home / Discussions / C#
   

C#

 
QuestionEvents related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 1:57
_ASPAle_7-Apr-10 1:57 
AnswerRe: Events related to the selection of text on a multiline textbox Pin
Not Active7-Apr-10 2:04
mentorNot Active7-Apr-10 2:04 
GeneralRe: Events related to the selection of text on a multiline textbox Pin
_ASPAle_7-Apr-10 7:21
_ASPAle_7-Apr-10 7:21 
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 
A very long post, a very long problem and a very long solution.

From what I understand you want to have shared objects (atomic objects) that can be modified using a transactional mechanism. And your main problem is that when a transaction is running what data you show to other requests.

If this is the case why don't you do as in a sql transactional server? When a transaction is started the atomic object is blocked until the transaction finishes succesfully or not. As for the data you provide to client requests, you don't give them acces to the main object, but to a clone of the object. And all changes must be made using an global object that supplies procedures following some rulles (meaning that in order to change the list of the object, you don't change the list, but call a procedure of that global object that does the job).

There are a couple of ways you could handle the transactional mechanism. One of them is to use a transaction object on which you use a mutex or something.

Hope this helps.
I have no smart signature yet...

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 
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 

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.