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 Jun 20, 2002 | 05:49 PM
  #1  
ex-webby's Avatar
ex-webby
Thread Starter
Orange Club
 
Joined: Oct 1998
Posts: 13,763
Likes: 1
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
Reply
Old Jun 20, 2002 | 05:54 PM
  #2  
ex-webby's Avatar
ex-webby
Thread Starter
Orange Club
 
Joined: Oct 1998
Posts: 13,763
Likes: 1
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
Reply
Old Jun 20, 2002 | 05:57 PM
  #3  
ex-webby's Avatar
ex-webby
Thread Starter
Orange Club
 
Joined: Oct 1998
Posts: 13,763
Likes: 1
Post

oops..

just sussed it.
Reply
Old Jun 20, 2002 | 07:38 PM
  #4  
IWatkins's Avatar
IWatkins
Scooby Regular
 
Joined: Mar 2000
Posts: 4,531
Likes: 0
From: Gloucestershire, home of the lawnmower.
Post

See, you don't need us
Reply
Old Jun 21, 2002 | 02:44 AM
  #5  
IanW's Avatar
IanW
Scooby Regular
 
Joined: Jul 2001
Posts: 21,865
Likes: 0
Post

Glad that we were of help Simon
Reply
Old Jun 21, 2002 | 12:31 PM
  #6  
ex-webby's Avatar
ex-webby
Thread Starter
Orange Club
 
Joined: Oct 1998
Posts: 13,763
Likes: 1
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
Reply
Old Jun 21, 2002 | 12:37 PM
  #7  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

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

David
Reply

Trending Topics

Old Jun 21, 2002 | 12:44 PM
  #8  
ex-webby's Avatar
ex-webby
Thread Starter
Orange Club
 
Joined: Oct 1998
Posts: 13,763
Likes: 1
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
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Frizzle-Dee
Essex Subaru Owners Club
13
Dec 1, 2015 09:37 AM




All times are GMT +1. The time now is 09:27 AM.