Click here to Skip to main content
15,921,905 members
Home / Discussions / C#
   

C#

 
QuestionHow to display the next Record's autonumber in the form? Pin
Anonymous23-Apr-04 8:07
Anonymous23-Apr-04 8:07 
AnswerRe: How to display the next Record's autonumber in the form? Pin
Heath Stewart23-Apr-04 10:31
protectorHeath Stewart23-Apr-04 10:31 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Anonymous23-Apr-04 23:50
Anonymous23-Apr-04 23:50 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Heath Stewart24-Apr-04 8:12
protectorHeath Stewart24-Apr-04 8:12 
GeneralRe: How to display the next Record's autonumber in the form? Pin
Anonymous25-Apr-04 2:07
Anonymous25-Apr-04 2:07 
GeneralRegenerate Print Preview Pin
hxxbin23-Apr-04 8:03
hxxbin23-Apr-04 8:03 
GeneralRe: Regenerate Print Preview Pin
Heath Stewart23-Apr-04 10:29
protectorHeath Stewart23-Apr-04 10:29 
GeneralRe: Regenerate Print Preview Pin
hxxbin26-Apr-04 4:14
hxxbin26-Apr-04 4:14 
GeneralMultiple childs of MDI form Pin
turist6923-Apr-04 7:03
turist6923-Apr-04 7:03 
GeneralRe: Multiple childs of MDI form Pin
Heath Stewart23-Apr-04 7:21
protectorHeath Stewart23-Apr-04 7:21 
GeneralRe: Multiple childs of MDI form Pin
turist6923-Apr-04 8:00
turist6923-Apr-04 8:00 
GeneralAppDomain.DomainUnload never fired automatically Pin
VizOne23-Apr-04 6:16
VizOne23-Apr-04 6:16 
GeneralRe: AppDomain.DomainUnload never fired automatically Pin
leppie23-Apr-04 7:00
leppie23-Apr-04 7:00 
GeneralRe: AppDomain.DomainUnload never fired automatically Pin
VizOne25-Apr-04 8:30
VizOne25-Apr-04 8:30 
GeneralP/Invoke and strings Pin
Dominik Reichl23-Apr-04 6:04
Dominik Reichl23-Apr-04 6:04 
GeneralRe: P/Invoke and strings Pin
Heath Stewart23-Apr-04 6:11
protectorHeath Stewart23-Apr-04 6:11 
QuestionMultithreaded shared remote object ? Pin
Gangren23-Apr-04 5:50
Gangren23-Apr-04 5:50 
Hi,

server side, I got a class containing a method like this :
DB_Access_Class() : MashalByRefObject
public string Execute_Query(string query)

The DB_Access_Class instances got infinite lease time.
The goal is to share the same instance between all clients.

client side, I got a proxy (singleton mode) on a remote DB_Access_Class
Now, i want several Clients to be able to run Execute_Query at the same time.

I don't care (and would even prefer actually) if the client is locked while waiting for server answer.

But i don't know the best way to implement this and can't find any example on the net.

Is there any way to implement this without using asynchronous calls ?

Thanks,

Etienne.
AnswerRe: Multithreaded shared remote object ? Pin
Heath Stewart23-Apr-04 6:14
protectorHeath Stewart23-Apr-04 6:14 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren23-Apr-04 6:24
Gangren23-Apr-04 6:24 
GeneralRe: Multithreaded shared remote object ? Pin
Heath Stewart23-Apr-04 6:35
protectorHeath Stewart23-Apr-04 6:35 
GeneralRe: Multithreaded shared remote object ? Pin
Tom Larsen23-Apr-04 10:06
Tom Larsen23-Apr-04 10:06 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren23-Apr-04 12:59
Gangren23-Apr-04 12:59 
GeneralRe: Multithreaded shared remote object ? Pin
Tom Larsen29-Apr-04 11:07
Tom Larsen29-Apr-04 11:07 
GeneralRe: Multithreaded shared remote object ? Pin
Gangren29-Apr-04 11:22
Gangren29-Apr-04 11:22 
AnswerRe: Multithreaded shared remote object ? Pin
Gangren27-Apr-04 20:00
Gangren27-Apr-04 20:00 

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.