Pass parameter from page to ActiveX

<object id="Bacs_DBTableRepX" classid="CLSID:CA8B72B3-3B15-40D7-9364-478E25AF5B41" codebase="Bacs_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 attempt, but that makes no sense. The parameter is not sent.

Are there any examples of how to send a parameter to my ActiveX or some errors in my code?

+1
html activex
May 12 '10 at 5:49 a.m.
source share
1 answer

Your HTML code looks right, here is an example:

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

I would try to set a breakpoint for the getter property and check if it is called. Getters are always called before setters during control initialization. If it is not called, you may have forgotten to add your map to the property map or something like that ...

+2
May 12 '10 at 11:50
source share



All Articles