ActiveX Error in HTML - Javascript Page. method '~' of object '~' failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kaushalgajjar
    New Member
    • Oct 2007
    • 7

    ActiveX Error in HTML - Javascript Page. method '~' of object '~' failed

    Hi,

    I had created an active-x control (ocx) in vb6 and i have used in VB.Net and HTML using ClassId reference and the active-x was working fine with ASP.Net, HTML and VB6.

    Now the active-x is created again with XML. I have used XMLHTTP object to communicate with a server and DOMDocument. I have also used a few API function for local network ping. and build a new active-x control.

    Now it is working fine with vb6, vb.net Winforms but not working in asp.net or html properly. The Active-X seems to be loading correctly except one function. a function created Connect() is having xml and api used that function is giving error "method '~' of object '~' failed", This function is working fine when i am calling from VB6 or VB.Net Winforms.

    I am using IE7 Updated and I am trying to run on my machine only where i created. The thing is control seems working fine on webpage also when i run from vb6 activex source code. its not working only when i use in HTML or ASP.Net..


    Thanks..
Working...