Results 1 to 2 of 2

Thread: Embeding .OCX/ActiveX on web form

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2008
    Posts
    3

    Embeding .OCX/ActiveX on web form

    Hi every one,
    I've developed a simple ActiveX control which has a button, on clicking the button it shows a messagebox. I used the following html tag to embed it on the html page:

    <OBJECT ID="AXctrl" CLASSID="CLSID:84A65F8F-5CB3-4449-B6DF-DD349B677EFB"
    CODEBASE="testAX.OCX">
    </OBJECT>

    I've copied the testAX.OCX in the same location where my html page resides on my server. this active x is running on my machine but it is not running on the other computers, on other machines IE prompts a message saying that:
    Windows has blocked this software because it can't verify the publisher
    Is there any one who could help me in fixing this problem? actually I'm a biginner in vb.

    thanks in advance

    regards
    Abdullah Baig

  2. #2
    New Member
    Join Date
    Mar 2009
    Posts
    1

    Re: Embeding .OCX/ActiveX on web form

    Hi

    Iam having the exact same peoblem. When the ocx is on my local machine, it works fine. When I put it on my Web Server,it does not work.

    I have tried to 'register' the activeX control and with Regsvr32 (Not sure this is correct, but it does say successfull). When I look in IE (Tools -> Manage Add-ons) I see the control, but the name is given as 'Project Name.Application' (Compiled using VB6.0 ) so it would look like I need to reference the Subin the control as ProjectName.AppliactionName.Sub, but this does not work. (undefined).

    When using it in a Web page that has the ocx on the local machine, I am able to reference the sub by using ApplicationName.Sub

    Please help

    Thanks
    Louis

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