Author Topic: how to register tlb when found in the application exe  (Read 4692 times)

0 Members and 1 Guest are viewing this topic.

Offline Paul Breen

  • Newbie
  • *
  • Posts: 39
  • User-Rate: +1/-10
how to register tlb when found in the application exe
« on: September 23, 2015, 05:28:14 AM »
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

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
  • User-Rate: +204/-0
Re: how to register tlb when found in the application exe
« Reply #1 on: September 23, 2015, 09:16:03 PM »
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

Offline Paul Breen

  • Newbie
  • *
  • Posts: 39
  • User-Rate: +1/-10
Re: how to register tlb when found in the application exe
« Reply #2 on: September 24, 2015, 01:05:47 AM »
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.

Offline José Roca

  • Administrator
  • Hero Member
  • *****
  • Posts: 2481
  • User-Rate: +204/-0
Re: how to register tlb when found in the application exe
« Reply #3 on: September 24, 2015, 04:39:25 AM »
It should appear as RegexBuddy.exe.

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