How to use ActiveX in asp.net

Sandeep Singhvi

New member
Joined
Aug 17, 2005
Messages
4
Programming Experience
1-3
Hello friends,

I've one aspx page and I am adding reference to com components (I want to use map point control). and dragging that component to my aspx page. Now I want to access that control at server-side. Can u give me an idea or sample code how to access that control at server side. Following is the code that I get when drag it to aspx page.


<
form id="Form1" method="post" runat="server">
<OBJECT id="mapControl" style="Z-INDEX: 101; LEFT: 40px; WIDTH: 368px; POSITION: absolute; TOP: 56px; HEIGHT: 360px"classid="clsid:8F78D7FC-BAE4-46A4-A79A-052356AB3DD4" name="mapControl" VIEWASTEXT>
<PARAM NAME="BorderStyle" VALUE="0">
<PARAM NAME="MousePointer" VALUE="0">
<PARAM NAME="TabStop" VALUE="-1">
<PARAM NAME="Appearance" VALUE="1">
<PARAM NAME="PaneState" VALUE="3">
<PARAM NAME="UnitsOfMeasure" VALUE="0">
</OBJECT>]
</form>

Pls. solve this query. Many many thanks in advance. Awaiting for your reply.

Thanks & Regards.


 
Back
Top