DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: ActiveX OCX in ASP

  1. #1
    Chris Jantze Guest

    ActiveX OCX in ASP


    Hi,
    I am trying to implement my custom ActiveX OCX in an ASP page. Everything
    works fine in InterDev, but when I run it in IE I get 'Object doesn't support
    this property or method." I am trying to invoke a method in my control.
    I tested the TX Text Control with my code and it worked fine. Is there
    something I need to do to my OCX and its properties and methods to get it
    to function properly in a browser? Thanks in advance for any help.
    Chris Jantze

  2. #2
    Harish Kumar Guest

    Re: ActiveX OCX in ASP


    Chris,

    Did you checked whether the object is instantiating properly? Some times,
    because of the security settings in IE, ActiveX objects will not get instantiated
    properly. Try this -

    if err.number <> 0 then
    msgbox err.description
    else
    msgbox "No Error"
    end if

    If errors like "cannot instantiate object ..." arises, go to Tools - Internet
    Options - Security tab. Select Intranet zone and enable the ActiveX controls.


    HTH,
    Harish
    "Chris Jantze" <devel@addison.attbbs.com> wrote:
    >
    >Hi,
    >I am trying to implement my custom ActiveX OCX in an ASP page. Everything
    >works fine in InterDev, but when I run it in IE I get 'Object doesn't support
    >this property or method." I am trying to invoke a method in my control.
    > I tested the TX Text Control with my code and it worked fine. Is there
    >something I need to do to my OCX and its properties and methods to get it
    >to function properly in a browser? Thanks in advance for any help.
    >Chris Jantze



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center