Community discussion forum

using .OCX in ASP.NET web forms

Tags: .net, asp.net India
  • 2 years ago

    hai all

    Did any body using third party .OCX control in ASP.NET?. If you had use it tell me how can i use .ocx in asp.net web application

    thanks for your help.

  • 2 years ago
    use object tag
    for more info
    Using Windows Control in ASP.NET
  • 2 years ago

    Hai!

    Thank you very much for your reply message.

     

     

    I download ezDICOMax.ocx activex control from the following website.

     

    http://www.sph.sc.edu/comd/rorden/dicomcom.html

     

     can you tell me how can I use this activex(ezDICOMax.ocx)  file asp.net.

     

    Thanks!

  • 2 years ago
    Hi,

    Try This,

    Replace Title Symbol with angular brackets
    [CODE]
    ~OBJECT id=DHTMLName style="LEFT: 0px; TOP: 0px" codeBase=x/MyOCX.CAB#version=1,0,0,38
    classid=CLSID:1EC44743-592A-493B-B462-2E239C5088DG~
    ~PARAM name=[param name] value=[param value]~]=
    ~/OBJECT~

    ~script language=vbscript~
    sub startComponent
    DHTMLName.[your ocx methods functions etc.]
    end sub
    ~/script~

    [/CODE]
  • 2 years ago

    hai,

    Did you download the ezDICOMax.ocx from the following web side

     

    http://www.sph.sc.edu/comd/rorden/dicomcom.html

     

    I couldn't found any .cab files.

     

    what is the alternet way for using the ezDICOMax.ocx in asp.net.

    Thanks

  • 2 years ago
    hi mani,

    Step 1:Create One new Project In ASP.NET.

    For Example:c:\inetpup\wwwroot\EzCon.

    Step 2:Place the OCX File within this folder.

    Step 3:Goto CommandPrompt.

    Step 4:c:\inetpup\wwwroot\EzCon>regsvr32 ezDICOMax.ocx

    Step 5: Type The Above command

    Step 6: Come To .NET Env, Select Tools From The Toolbar.

    Step 7: In That Select OLE/COM.

    Step 8: In That Below ObjectClasses select Controls.

    Step 9: If You OCx Installed means i will be display in this.

    Step 10: After That Goto ASP.NET Toolbox RightClick Select Add& Remove Items in that Select Com Components.

    Step 11:There You can c ur control and select like that other controls.

    Step 12: U Can C the Cotrol in the ToolBox

    Img:

    Step 7:Img


    Step 8 Img


    Step 10:img



    Proceed asusal Mani
  • 2 years ago

    hai,

     

    I try that method already. This application can run only in the server system. Because we Registered ezDICOMax.ocx in our local system.

     

    When we run our (Ezcon) application in to the clients  internet explorer (others system ) it cann't be visible.

     

    can you reply what is reason for occur this problem.

  • 6 months ago

    Hello, Can you please let me know how this steps works? Step 6: Come To .NET Env, Select Tools From The Toolbar.

    Step 7: In That Select OLE/COM.

    Step 8: In That Below ObjectClasses select Controls.

    Step 9: If You OCx Installed means i will be display in this.

    Step 10: After That Goto ASP.NET Toolbox RightClick Select Add& Remove Items in that Select Com Components.

    i cant get that. Please can you help me to find out the solution for use .OCX in web application. I am able to view the dicom files but if i want to change in control and put in web application than what to do?

Post a reply

Enter your message below

Sign in or Join us (it's free).

Want to stay in touch with what's going on? Follow us on twitter!