Results 1 to 6 of 6

Thread: [RESOLVED] How to modify ActiveX control within an OCX file?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    59

    [RESOLVED] How to modify ActiveX control within an OCX file?

    I have an OCX file with custom controls created by a previous developer. One of the controls needs to be modified as it is not appearing properly when used. Is it possible to "open" the OCX file and modify the relevant control and then "resave" the OCX file?
    Last edited by Urvi; Feb 2nd, 2006 at 05:04 PM.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: How to modify ActiveX control within an OCX file?

    Nope.. I'm afraid you need the original source code.

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    59

    Re: How to modify ActiveX control within an OCX file?

    Okay, thank you very much. I think I have located the source code.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: How to modify ActiveX control within an OCX file?

    Quote Originally Posted by Urvi
    Okay, thank you very much. I think I have located the source code.
    Don't forget that you need to reinstall the OCX on client machines once you have made an change and recompiled.

  5. #5
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Re: How to modify ActiveX control within an OCX file?

    Quote Originally Posted by Hack
    Don't forget that you need to reinstall the OCX on client machines once you have made an change and recompiled.
    Also, you should make sure your project is set for binary compatibility.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

  6. #6

    Thread Starter
    Member
    Join Date
    Nov 2002
    Posts
    59

    Re: How to modify ActiveX control within an OCX file?

    Thanks for the replies so far. I haven't had any success in compiling the code due to the fact that I am opening the code in Visual Studio .NET. There are lots of compatibility issues so I think I will just have to open in VB 6 and try to recompile.

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