[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

ocx file handling

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
2 Solutions
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.

Must second AW, you must have access to the original source code.
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now