|
-
Nov 14th, 2006, 10:47 PM
#1
Thread Starter
New Member
Registering DLL with custom name
When I register a DLL which I made, using Regsvr32, it gets registered as ProjectName.ClassModuleName (Ex: prjForums.clsThreads), in the registry. How to make it register with a custom name or just the project name?
-
Nov 15th, 2006, 10:19 AM
#2
Addicted Member
Re: Registering DLL with custom name
 Originally Posted by vshankaa
When I register a DLL which I made, using Regsvr32, it gets registered as ProjectName.ClassModuleName (Ex: prjForums.clsThreads), in the registry. How to make it register with a custom name or just the project name?
The obvious questions are:
Why would you want to do that? What purpose could you have for this?
First - you get a custom name by naming the project and class to whatever "custom" name you want. You already can do that.
Second - it would be of no use to register a component without the class name. There would be no way for client applications to find the functionality your component exposes.
-
Nov 16th, 2006, 07:37 AM
#3
Thread Starter
New Member
Re: Registering DLL with custom name
I failed to mention that the DLL is a Internet Explorer toolbar. So, in Internet Explorer it has a long name, that is, HelloProject.HelloBar (Project Name.Class Name). I want it to be just HelloProject.
Last edited by vshankaa; Dec 4th, 2006 at 04:39 AM.
-
Nov 16th, 2006, 06:19 PM
#4
Addicted Member
Re: Registering DLL with custom name
 Originally Posted by vshankaa
I failed to mention that the DLL is a Internet Explorer toolbar. So, in Internet Explorer it has a long name, that is, IndicBand.IndicBar (Project Name.Class Name). I want it to be just IndicBand.
There might be a way to change the name - I have never looked into that, but components are registered at the class level, and the ProgId will always be SomeProject.SomeClass.
However, you can give a VB6 project a definition on the project properties > general tab.
Of course, I am not sure that is of any help to you.
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
|