Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

VB, DCOM, Events to Multiple Clients - HELP!!!

Thread Tools
 
Search this Thread
 
Old 20 June 2002, 05:49 PM
  #1  
ex-webby
Orange Club
Thread Starter
 
ex-webby's Avatar
 
Join Date: Oct 1998
Posts: 13,763
Likes: 0
Received 1 Like on 1 Post
Talking

Hi All, after some help...

Have an ActiveX EXE which handles any number of client connections to the single instance.

It has a public event which is triggered when one of the clients runs one of the methods. I want all clients to see this event.

How the hell on earth are you supposed to do that? It's driving me mental!

Thanks in advance

Simon
Old 20 June 2002, 05:54 PM
  #2  
ex-webby
Orange Club
Thread Starter
 
ex-webby's Avatar
 
Join Date: Oct 1998
Posts: 13,763
Likes: 0
Received 1 Like on 1 Post
Post

PS... sorry forgot

Currently, the only client that sees the event is the one that triggered it by calling the method. All other clients are oblivious to it
Old 20 June 2002, 05:57 PM
  #3  
ex-webby
Orange Club
Thread Starter
 
ex-webby's Avatar
 
Join Date: Oct 1998
Posts: 13,763
Likes: 0
Received 1 Like on 1 Post
Post

oops..

just sussed it.
Old 20 June 2002, 07:38 PM
  #4  
IWatkins
Scooby Regular
 
IWatkins's Avatar
 
Join Date: Mar 2000
Location: Gloucestershire, home of the lawnmower.
Posts: 4,531
Likes: 0
Received 0 Likes on 0 Posts
Post

See, you don't need us
Old 21 June 2002, 02:44 AM
  #5  
IanW
Scooby Regular
 
IanW's Avatar
 
Join Date: Jul 2001
Posts: 21,865
Likes: 0
Received 0 Likes on 0 Posts
Post

Glad that we were of help Simon
Old 21 June 2002, 12:31 PM
  #6  
ex-webby
Orange Club
Thread Starter
 
ex-webby's Avatar
 
Join Date: Oct 1998
Posts: 13,763
Likes: 0
Received 1 Like on 1 Post
Post

LOL

I knew it would be something silly.

If anyone's interested, let me know and I'll post how I did it

cheers

Simon
Old 21 June 2002, 12:37 PM
  #7  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

go on then Im interested... just to keep you happy

David
Old 21 June 2002, 12:44 PM
  #8  
ex-webby
Orange Club
Thread Starter
 
ex-webby's Avatar
 
Join Date: Oct 1998
Posts: 13,763
Likes: 0
Received 1 Like on 1 Post
Post

this may not be the normal way to do it, but it works and is actually really nice to work with...

made a seperate class to publish the events and made a global reference within a normal module to this class. This then appears in each instance.

So now, I fire and event by just calling a method of the global instance of the event class.

cheers

Simon
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Frizzle-Dee
Essex Subaru Owners Club
13
01 December 2015 09:37 AM



Quick Reply: VB, DCOM, Events to Multiple Clients - HELP!!!



All times are GMT +1. The time now is 10:58 AM.