开发者

Pass parameter from page to ActiveX

    <object id="Bacs_DBTableRepX"
     classid="CLSID:CA8B72B3-3B15-40D7-9364-478E25AF5B41"
     codebase="Bacs开发者_C百科_DBTableRepX.cab"
        style="
        Z-INDEX: 102; LEFT: 20px; WIDTH: 1200px; 
        POSITION: absolute; TOP: 80px; HEIGHT: 600px">
        <param name="ax_Command" value='<%=GetText()%>'/>
    </object>

Here is my try but it made no sense. Parameter had not being sent.

Is there any examples how to sent parameter to my ActiveX or some mistakes in my code ?


Your html code looks like correct, here is a sample:

http://www.w3schools.com/TAGS/tag_object.asp

I would try to set a breakpoint to the property getter and check whether it is called. Getters are always called before setters during control initialization. If it is not called, probably you forgot to add your prop to property map or something like that…

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜