|
|
|
|
Group: Forum Members
Last Login: Thursday, August 28, 2008
Posts: 10,
Visits: 10
|
Just trying to get a simple example working with the following codeShared WithEvents Vnc As ServerX.CSC_ServerXControlProtected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles form1.LoadVnc = New ServerX.CSC_ServerXControlWith Vnc .ShowTrayIcon = True .RemoveWallpaper = True .RemoveBackgroundPattern = True End With End SubProtected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Vnc.AddClient("IP ADDRESS", 5505) End Sub
When the button is pressed I get the error about "This method cannot be used while the control running in the "design-time" mode." Any clues?
|
|
|
|
|
Group: Administrators
Last Login: Friday, May 18, 2012
Posts: 1,624,
Visits: 3,043
|
|
|
|
|
|
Group: Forum Members
Last Login: Thursday, August 28, 2008
Posts: 10,
Visits: 10
|
add referenceadd button copy paste in code publish
|