ocx file handling

Posted on 2004-11-29
Last Modified: 2008-02-01
hey ,
  I am I need of modify the ocx file.That Ocx file format has certain command I have to rewrite that ocx file.For that how can I rewrite the the coding within the ocx file.
               Is there is any seperate platform plz send the link..

  thank U
Question by:sivara
    LVL 44

    Accepted Solution

    if you do not have the original source code for the OCX, then there is no way that you can modify the function of the control.

    LVL 8

    Expert Comment

    Must second AW, you must have access to the original source code.
    LVL 7

    Assisted Solution

    I agree with AW and Mug, BUT there is an alternative... All be it not so pretty.

      You could wrap the existing OCX into another OCX and expose the methods of the origional OCX via your interface so you could override the one method you needed to change, but unless you can make the origional OCX do what you want it to do with vairous combinations of alternate calls you won't be able to easily produce the desired effect.  If you want to get brave, it may be possible to poke around in the API and send windows messages to the origional OCX's windows.. If it has a visual element you wish to modify.

    Like I said, It's Ugly..


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    matchUp  challenge 6 37
    NotAlone Challenge 20 65
    scoresIncreasing challenge 10 49
    bigHeights  challenge 13 43
    This is an explanation of a simple data model to help parse a JSON feed
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now