Dynamically Created Viewer requires license file


Author
Message
Airegin
Airegin
Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)Supreme Being (1.2K reputation)
Group: Forum Members
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..

Yury Averkiev (s-code)
Yury Averkiev (s-code)
Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)Supreme Being (213K reputation)
Group: Administrators
Posts: 1.9K, Visits: 3.6K
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();


http://www.s-code.com/App_Themes/Default/images/blue_line.gif
Regards,

Yury Averkiev, SmartCode

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Explore
Messages
Mentions
Search