Results 1 to 2 of 2

Thread: VB6 ActiveX control with static CLSID(?)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2002
    Location
    St. Louis MO
    Posts
    129

    Unhappy VB6 ActiveX control with static CLSID(?)

    I have a ActiveX control that I'm using on a web page. Every time I compile the control, it gives it a new CLSID. So in addition to putting the revised control on the web server, we have to modify the web page to reference the new ID number.
    Is there something that tells it not to generate a new number every time?

    Here's the code block from the web page showing how the control is being implemented on the web page.

    <OBJECT ID="ImageViewer" WIDTH=85% HEIGHT=85%
    CODEBASE="InventoryImageViewer.ocx#version=-1,-1,-1,-1"
    CLASSID="CLSID32FC5D4-8905-4E20-A286-B4D246A4A667">
    </OBJECT>

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

    Re: VB6 ActiveX control with static CLSID(?)

    Use Binary Compatibility in your VB project.
    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.

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