How to add an icon to OCX created using Delphi so that it appears in VB?

I made OCX with Delphi 2007. Now my client claims that there is no icon in his VB when he installs this OCX.

How to add such an icon to my OCX?

+3
source share
1 answer

According to this old page, the TActiveXControlFactory constructor in the initialization section of your ActiveX control has the ToolbarBitmapID parameter, which is the resource identifier for the bitmap. This is how you set your icon.

+4
source

All Articles