|
|
|
Forum Member
      
Group: Forum Members
Last Login: 2/15/2007 10:36:50 PM
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.
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Today @ 9:01:07 AM
Posts: 825,
Visits: 1,334
|
|
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?
 Kindest Regards, SmartCode Solutions Support
|
|
|
|
|
Forum Member
      
Group: Forum Members
Last Login: 2/15/2007 10:36:50 PM
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
|
|
|
|
|
Forum Member
      
Group: Forum Members
Last Login: 2/15/2007 10:36:50 PM
Posts: 25,
Visits: 25
|
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Today @ 9:01:07 AM
Posts: 825,
Visits: 1,334
|
|
John, I wrote a sample C# .Net application that works fine here and receives Connected/Disconnected events.Could you please give it a try?
 Kindest Regards, SmartCode Solutions Support
|
|
|
|