cerik
asked on
Receiving events from remote object.
I developed a simple ActiveX Exe "server" which provides
Notify objects. The Notify class has a Event which is used
to broadcast a message to "clients" sharing the object
I first tested it locally and it works fine. With multiple
instances of my "client" program running locally (and connected to a local server), each one receives the
event notification.
Now I would like to distribute this, so that the "server" runs on a remote machine. I prepared a remote installation with the setup wizard and the remote automation connection
manager
However, I get an automation error when I declare my variable with events.
Dim not1 As Notifier
Dim WithEvents not2 As Notifier
Set not1 = New Notifier -> no error
Set not2 = New Notifier -> automation error when server
connection is remote
Is there a limitation on using events from remote applications? Or did I overlook something in setting
my application properties?
Any help would be greatly appreciated.
Notify objects. The Notify class has a Event which is used
to broadcast a message to "clients" sharing the object
I first tested it locally and it works fine. With multiple
instances of my "client" program running locally (and connected to a local server), each one receives the
event notification.
Now I would like to distribute this, so that the "server" runs on a remote machine. I prepared a remote installation with the setup wizard and the remote automation connection
manager
However, I get an automation error when I declare my variable with events.
Dim not1 As Notifier
Dim WithEvents not2 As Notifier
Set not1 = New Notifier -> no error
Set not2 = New Notifier -> automation error when server
connection is remote
Is there a limitation on using events from remote applications? Or did I overlook something in setting
my application properties?
Any help would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I dont think its fair to levy such a high point load when the accepted answer refers to microsoft.com.