CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    ActiveX Controls in IE

    This is not exactly a C++ question but here goes. Until now I have been creating COM servers which I can access in ASP using syntax such as: set x = CreateObject("myobject.server").

    Now I wish to place an ActiveX control into the web page. I use the <OBJECT> tag and the control shows up. I use the MS ActiveX control pad to create the <object> tag.

    The problem is: How do I get access to the object in my ASP code. CreateObject will create a new instance of the object. How do I create a variable that will point to the object defined in the <object> tag so that I may use its properties and methods.

    Where can I read about this?

    Thank you very much.



  2. #2
    Join Date
    May 1999
    Location
    13 N 77 E
    Posts
    183

    Re: ActiveX Controls in IE

    You dont seem to be making the difference between server side script and client side script, you can use a server side object that you script , you may need to use RUNAT server. If you need to do something dynamic on the client side you need to think of some interesting logic to generate the client-side-script using server-side-script(or at least portions of it. The only other way of making client side object and server connect is perhaps to use DCOM ... but I am not sure how it is tunneled over HTTP..security issues etc.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured