SmartCode Solutions Web Forum




Dynamically Created Viewer requires license file

Expand / Collapse
Author Message
 Posted Monday, August 20, 2007
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Monday, August 20, 2007
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
Add to Twitter Add to Facebook
 Posted Monday, August 20, 2007
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: 2 days ago @ 4:49 PM
Posts: 1,248, Visits: 2,125
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
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse