<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 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…
来源:https://stackoverflow.com/questions/2816294/pass-parameter-from-page-to-activex