d00_ape Posted September 28, 2004 Share Posted September 28, 2004 Hi! I?m creating an ActiveX control in my myapp.aspx-page using the <object> - tag. <OBJECT id="objComp" style="Z-INDEX: 101; LEFT: 24px; WIDTH: 974px; POSITION: absolute; TOP: 40px; HEIGHT: 538px" </OBJECT> At this time I?m only using the ActiveX technology to publish my MFC application on the net. I?m about to make a call to may webpage like this: http://www.mypage.com/myapp.aspx?user=bill&password=12345 How may I pass the ?user? and the ?password? into my ActiveX? Can I how do I access the properties of my ActiveX from my page? The ActiveX is supposed to run on the client ? not on the server. Link to comment Share on other sites More sharing options...
0 smurfiness Posted September 28, 2004 Share Posted September 28, 2004 You need to use just plain Javascript to access the control from the page. Link to comment Share on other sites More sharing options...
0 d00_ape Posted September 28, 2004 Author Share Posted September 28, 2004 OK. Supose I finaly need to learn a bit javascript... Link to comment Share on other sites More sharing options...
0 SoftContest Posted September 29, 2004 Share Posted September 29, 2004 Or you could programatically change the <OBJECT> tag from within your .aspx page to include the parameters. Link to comment Share on other sites More sharing options...
Question
d00_ape
Hi!
I?m creating an ActiveX control in my myapp.aspx-page using the <object> - tag.
At this time I?m only using the ActiveX technology to publish my MFC application on the net. I?m about to make a call to may webpage like this:
http://www.mypage.com/myapp.aspx?user=bill&password=12345
How may I pass the ?user? and the ?password? into my ActiveX?
Can I how do I access the properties of my ActiveX from my page?
The ActiveX is supposed to run on the client ? not on the server.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts