Romme Posted December 4, 2006 Posted December 4, 2006 Hi I have seen the method GetPageAsRaw, but it's not in the documentation. Is it possibel to use this method and if how ? /Romme Quote
Guest Lars_MQ Posted December 4, 2006 Posted December 4, 2006 Yes you can use this method. It delivers a one dimensional byte safe array with the raw ttx pagedata (with all command sequence etc.). It's useful, if you don't want the html stuff pollute the ttx page data. Quote
Romme Posted December 4, 2006 Author Posted December 4, 2006 Do you have an example of how to use it? I have tryed using it from a .vbs fil like this: Set myDVBViewer = getObject(,"DVBViewerServer.DVBViewer") wscript.echo myDVBViewer.Videotext.GetPage(100,0) wscript.echo myDVBViewer.Videotext.GetPageAsRaw(100,0,0) The GetPage works fine, but I only get a "1000" from GetPageAsRaw. /Romme Yes you can use this method. It delivers a one dimensional byte safe array with the raw ttx pagedata (with all command sequence etc.). It's useful, if you don't want the html stuff pollute the ttx page data. Quote
hackbart Posted December 5, 2006 Posted December 5, 2006 Thats because you do not use it correctly 1000 is the size of the page as result. The whole command looks like: function GetPageAsRaw(Page: Integer; Sub: Integer; out List: OleVariant): Integer; Christian Quote
Romme Posted December 5, 2006 Author Posted December 5, 2006 I see.. do you have a VB sample? Thats because you do not use it correctly 1000 is the size of the page as result. The whole command looks like: function GetPageAsRaw(Page: Integer; Sub: Integer; out List: OleVariant): Integer; Christian Quote
Romme Posted January 3, 2007 Author Posted January 3, 2007 Thanx, I got it now Anyone know how to convert it to HTML or an image? /Romme Thats because you do not use it correctly 1000 is the size of the page as result. The whole command looks like: function GetPageAsRaw(Page: Integer; Sub: Integer; out List: OleVariant): Integer; Christian Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.