COM registration

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi,
I want to describe my COM component with Component
Designer. I define files who must be copied and
registry keys used by my component but I don't know how can
I register my component after its copy. Is with Resource
folder in Component Designer. Is anybody can help me ?
Thanks in advance...
 
Hi,
I want to describe my COM component with Component
Designer. I define files who must be copied and
registry keys used by my component but I don't know how can
I register my component after its copy. Is with Resource
folder in Component Designer. Is anybody can help me ?
Thanks in advance...

Registering a COM component in Component Designer is relatively easy. You
need to create an FBA resource.

In Component Designer, under your component, select Resources.
Right-click Resources, then select Add, FBA DLL/COM Registration. You'll
see an Add Component Resources dialog. Provide a unique name for the
resource (something like "Foo COM Registration") and a Description, if you
like.

In the Extended Properties, set the following:

* FilePath: the fully qualified name of the DLL you want to register.
* DLLRegister: If you want to call DLLRegisterServer in the DLL listed
above, set this to True.
* DLLInstall: If you want to call DLLInstall in
the DLL listed above, set this to True.
* Arguments: Any arguments to pass into the DLLInstall call.
Leave blank if you don't have any.
* Flags: Set as follows:
0 - Call DLLRegisterServer, followed by DLLInstall
1 - Call DLLInstall, followed by DLLRegisterServer
2 - Call DLLUnregisterServer, followed by DLLInstall
3 - Call DLLInstall, followed by DLLUnregisterServer

That should register your COM component during FBA.
 
Back
Top