Results 1 to 3 of 3

Thread: How to set the ActiveX control ProdID

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    1
    Hello!
    I want to know if it is possible (and if so how to)
    to set the ProgID to look like this
    <App>.<Class>.<Version>
    in a VB project.
    VB always seem to set the ProgID to (only)<App>.<Class>

    I dont want a install/registration program. I only want to double click the ocx-file and the registration is done "automatically"

    Thanks for your help

    //Soda
    Soda

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    VB won't do the versioning thing like VC++ will

    I usually end up doing something like this:
    App.<Class>
    App2.<Class>
    App3.<Class>
    App4.<Class>
    etc... to do my own versioning

  3. #3
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362
    Will the interface of your object change, or is it just the implementation that will be changing.

    If the interface is static, then define the interface in a typelib (idl>midl>typelib) and then each new object lib you create (with the new object implementation) implements your defined interface.

    All other objects in your system then mark against this interface, so no matter how many times you redo the implementation, you'll always be compatible (you wont need to reference each time against App.Class, App2.Class etc)


    td.
    "One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig


    [email protected]

    "but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.

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