how to register tlb when found in the application exe

Started by Paul Breen, September 23, 2015, 05:28:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Paul Breen

Hello, I am trying to use a dispatch interface using the tlb from a program called regexbuddy.
The docs say the tlb is registered automatically, but I have done this twice, getting the message "installed successfully". However, the Jose Roca tlb browser says the tlb is not registered. The docs also say the tlb is inside the regexbuddy4 executable. I cannot get regsvr32 to register an exe file, it likes dll's. I used the tlb browser to find the tlb inside the executable, so it is there, but now I do not know how to register the
tlb manually. There is no dll in the installation folder to confuse the issue.

thanks,
Paul Breen

José Roca

According to MSDN:

Quote
To register the component, type the following command:
<path>\<mycomponent> /regserver
where <path> is the path to the component, and <mycomponent> is the name of your component.

To unregister the component, type the following command:
<path>\<mycomponent> /unregserver
where <path> is the path to the component, and <mycomponent> is the name of your component.

You can type these commands in a command window, or you can click Run from the Windows Start menu and type the commands.

https://support.microsoft.com/en-us/kb/297279

Paul Breen

Thanks for the help.
Well, I must have another problem.
I opened a console window (administrator level)in the directory of the exe.
I typed RegexBuddy.exe /regserver
No errors, just return of control.
The RegexBuddy tlb still does not show up on the left side (grid) of the tlb tool. I tried reload, etc.

José Roca

It should appear as RegexBuddy.exe.

Check the registry entries to see if it has been properly registered.