|
|
|
|
Group: Forum Members
Last Login: Thursday, February 15, 2007
Posts: 25,
Visits: 25
|
The Connected and Disconnect events do not seem to fire. I would expect them to fire when a client connects or disconnects.
|
|
|
|
|
Group: Administrators
Last Login: Friday, May 18, 2012
Posts: 1,624,
Visits: 3,043
|
I would say they do fire. If you try to run the demo on the Web site, the log window shows client connected and disconnectede events. It works in our test and for several external testers too. May be you could send us a source code so we could take a look on it and identify the problem?
 We are looking for investors and business partners. Please contact us for more details
Kindest Regards, SmartCode Solutions Support
|
|
|
|
|
Group: Forum Members
Last Login: Thursday, February 15, 2007
Posts: 25,
Visits: 25
|
Here some demo code from a simple winforms app. The events do not seem to fire.Public Class Form1Private WithEvents vncserv As New ServerX.CSC_ServerXControlPrivate Sub vncserv_Connected(ByVal strClientAddress As String) Handles vncserv.ConnectedNotifyIcon1.ShowBalloonTip(500, "VRtest1", "User Connected" & vbCrLf & strClientAddress, ToolTipIcon.Info)Beep() End SubPrivate Sub vncserv_Disconnected(ByVal strClientAddress As String) Handles vncserv.DisconnectedNotifyIcon1.ShowBalloonTip(5000, "VRtest1", "User Disconnected", ToolTipIcon.Info)Beep() End SubPrivate Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Clickvncserv.DisconnectAllClients() vncserv.AllowConnections = Falsevncserv = NothingApplication.Exit() End SubPrivate Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.ActivatedWith vncserv.AcceptCutText = True.AcceptKeyEvents = True.AcceptPointerEvents = True.ScreenSaverAffectInput = True.DisableLocalInputs = True.Password = "test1".AllowConnections = TrueEnd WithBeep() End Sub
|
|
|
|
|
Group: Forum Members
Last Login: Thursday, February 15, 2007
Posts: 25,
Visits: 25
|
Any word on this one?
|
|
|
|
|
Group: Administrators
Last Login: Friday, May 18, 2012
Posts: 1,624,
Visits: 3,043
|
John, I wrote a sample C# .Net application that works fine here and receives Connected/Disconnected events.Could you please give it a try?
 We are looking for investors and business partners. Please contact us for more details
Kindest Regards, SmartCode Solutions Support
ServerXTest.zip
(702 views,
48.87 KB)
|