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



VNC Thumbnail - through asp.net Expand / Collapse
Author
Message
Posted 7/22/2009 11:47:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/25/2009 4:34:06 AM
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
Posted 7/22/2009 5:53:15 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 7:10:09 PM
Posts: 1,163, Visits: 1,909
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
« 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 10:55pm

Powered by InstantForum.NET v4.1.4 © 2010
Execution: 0.359. 9 queries. Compression Disabled.