SmartCode Solutions Web Forum




VNC Thumbnail - through asp.net

Expand / Collapse
Author Message
 Posted Wednesday, July 22, 2009
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Saturday, July 25, 2009
Posts: 1, Visits: 8
Hi,

We are evaluating your viewerX activex control and we really like it but want to use the facility to pull thumbnails of each unit VNC is install on through asp.net page returning a image handler response with the thumbnail. I see from other posts that you use viewerX to obtain thumbnails but is it possible from an asp.net page?

If so do you have any example c# code?

Thanks 

Post #2625
Add to Twitter Add to Facebook
 Posted Wednesday, July 22, 2009
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
Hi,
thumbnail view implementation technique described in the other threads is more suitable for desktop applications. In case of a web application there is easier way to implement VNC thumbnails view.

Instead of using a hiding instance of ViewerX and catching ScreenUpdated event, you can simply place visible ViewerX instance on a web page. These ViewerXes should be resized to an appropriate suitable for your needs, for example 200px X 130px. And of course the screen stretching mode must be enabled.

Screen stretching can be enabled via the StretchMode property. It can have the following values:
enum ScreenStretchMode {
 SSM_NONE = 0, //screen stretching disabled
 SSM_FREE = 1, //screen stretching enabled, fits remote screen into ViewerX window
 SSM_ASPECT = 2, //screen stretching enabled, keeps remote screen aspect ratio
};




Kindest Regards,
SmartCode Solutions Support

Post #2626
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse