in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Videosoft flexgrid pro popup

Last post 10-03-2007 4:51 AM by C1_GaryB. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-17-2007 2:36 AM

    Videosoft flexgrid pro popup

    Hi, I am having an asp page which uses Videosoft flexgrid pro component to create a grid. The component is included through a cab file which has vsflex7l.ocx file. This was working fine earlier but when I loaded my ActiveX component dynamically to get rid of message "Click here to activate and use this control" a Videosoft flexgrid pro promotional popup comes up when the asp page loads. The script I used is as follows:- if (document.getElementsByTagName && document.body.outerHTML) { var tags = ['object','embed','applet']; for (var i in tags) { var objs = document.getElementsByTagName(tags[i]); for (var j=0;j < objs.length;j++) { var obj = objs.item(j); var params = obj.getElementsByTagName('param'); var inner = ''; if (params.length && !/', '>' + inner); } } }

    Let me know if anybody knows about the reason for this kind of behavior.

    Filed under: ,
  • 10-03-2007 4:51 AM In reply to

    Re: Videosoft flexgrid pro popup

    Hi,
     
    Did you refer to the class ID correctly? The following code needs to be implemented correctly so tha tlicense screen can be avoided -
     
    <!-- load licenses from LPK file -->
       <OBJECT classid = "clsid:5220cb21-c88d-11cf-b347-00aa00a28331" VIEWASTEXT>
        <PARAM NAME="LPKPath" VALUE="flex8.lpk">
       </OBJECT>
     
    <!-- here's the FlexGrid control -->
       <OBJECT id="flex" style="WIDTH: 536px; HEIGHT: 256px" height="256" width="536"            classid="clsid:0F026C11-5A66-4c2b-87B5-88DDEBAE72A1">
       </OBJECT>
     
    Thanks,
    Gary.
     
    <soma.kashyap> wrote in message news:198450@10.0.1.98...

    Hi, I am having an asp page which uses Videosoft flexgrid pro component to create a grid. The component is included through a cab file which has vsflex7l.ocx file. This was working fine earlier but when I loaded my ActiveX component dynamically to get rid of message "Click here to activate and use this control" a Videosoft flexgrid pro promotional popup comes up when the asp page loads. The script I used is as follows:- if (document.getElementsByTagName && document.body.outerHTML) { var tags = ['object','embed','applet']; for (var i in tags) { var objs = document.getElementsByTagName(tags[i]); for (var j=0;j < objs.length;j++) { var obj = objs.item(j); var params = obj.getElementsByTagName('param'); var inner = ''; if (params.length && !/', '>' + inner); } } }

    Let me know if anybody knows about the reason for this kind of behavior.



    http://helpcentral.componentone.com/cs/forums/p/73115/198450.aspx#198450

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.