The VNC Manager - SmartCode Solutions Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



ASP (VB) .NET Expand / Collapse
Author
Message
Posted 12/11/2006 12:48:02 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/22/2008 4:55:10 PM
Posts: 8, Visits: 8
Just trying to get a simple example working with the following code


Shared WithEvents Vnc As ServerX.CSC_ServerXControl

Protected Sub form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles form1.Load

Vnc = New ServerX.CSC_ServerXControl

With Vnc
.ShowTrayIcon =
True
.RemoveWallpaper = True
.RemoveBackgroundPattern = True
End With
End Sub

Protected 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?

Post #1273
Posted 12/11/2006 2:28:15 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Today @ 1:55:58 AM
Posts: 788, Visits: 1,252
Hi!
Could you please post both .aspx and .vb files?



Kindest Regards,
SmartCode Solutions Support
Post #1274
Posted 1/12/2007 12:58:49 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/22/2008 4:55:10 PM
Posts: 8, Visits: 8
add reference

add button

copy paste in code

publish

Post #1289
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Support (s-code), Alex (s-code)

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 7:36am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.156. 10 queries. Compression Disabled.