PDA

Click to See Complete Forum and Search --> : How to set the ActiveX control ProdID


Soda
Jan 17th, 2001, 09:57 AM
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

Clunietp
Jan 17th, 2001, 10:17 AM
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

tumblingdown
Feb 8th, 2001, 03:45 AM
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.