|
-
Jan 17th, 2001, 10:57 AM
#1
Thread Starter
New Member
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
-
Jan 17th, 2001, 11:17 AM
#2
Guru
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
-
Feb 8th, 2001, 04:45 AM
#3
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|