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



Dynamically Created Viewer requires license... Expand / Collapse
Author
Message
Posted 8/20/2007 2:43:21 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/20/2007 2:37:25 PM
Posts: 6, Visits: 12
Doing something like this will cause the licensing popup window to pop up on user machines. The only way I've found to get around it is to deploy the .lic file with with. What is the correct way to handle this?

(VB.NET 2005)

dim objVNC = New AxViewerX.AxCSC_ViewerXControl

Me.PanelMain.Controls.Add(objVNC)

I can send a demo project and binaries if that helps..

Post #1601
Posted 8/20/2007 9:54:58 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 7:37:56 AM
Posts: 820, Visits: 1,328
The licensing popup appears when COM reports that the ActiveX is running in "design mode". You shouldn't redistribute the .lic file with your application.

In the VNC Manager we also using dynamically created ViewerX instances as part the VNC Thumbnails view feature. I think you should add BeginInit() and EndInit() calls to your code. In C# the code should look like this:

AxViewerX.AxCSC_ViewerXControl objVNC = new AxViewerX.AxCSC_ViewerXControl();
objVNC.BeginInit();
//setup ViewerX properties here
PanelMain.Controls.Add(objVNC);
objVNC.EndInit();




Kindest Regards,
SmartCode Solutions Support

Post #1602
« 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 2:33am

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