cancel
Showing results for 
Search instead for 
Did you mean: 

How to use 'SBOAddonReg.dll'

Former Member
0 Kudos
107

Hi,Everyone.

I want to use 'SBOAddonReg.dll' and to delete registry.

Is it possible although development environment is 'VB.NET2003'?

Thanks for help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Barend.

Do you think that it is right to use the following coding instead of using 'SBOAddonReg.dll'?

-


Dim regkey As Microsoft.Win32.RegistryKey = _

Microsoft.Win32.Registry.LocalMachine.OpenSubKey( _

"Software\SAP\SAP Manage\AddOns\TEST", True)

regkey.DeleteSubKey("TEST01", False)

regkey.Close()

-


Although this coding should just be carrying out the same motion as

'UnRegisterAddOn' of 'SBOAddonReg.dll' ...

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

You must use SBOAddOnReg.dll to tell Business One when your addon is registered or unregistered.

At the same time you can use registries to save the information you need for your installation/deinstallation procedure.

These two procedures are separate one from the other.

Regards

Trinidad.

Answers (1)

Answers (1)

barend_morkel2
Active Contributor
0 Kudos

You can not delete registry settings using 'SBOAddonReg.dll' - you have to do it manually.

C:\Program Files\SAP Manage\SAP Business One SDK\Samples\COM UI\VB.NET\14.AddOnInstaller