Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

regarding logo

HI All,

This is krishna, I created a user defined Menu. For that i put a logo and placed after production. Before addon regestration it is showing fine. But when i regestred that, the logo is displaced. I am sending my code, once chck it tel me what happend.

oMenuItem = SBO_Application.Menus.Item("43520"); // moudles'

string sPath = null;

sPath = Application.StartupPath;

sPath = sPath.Remove(sPath.Length - 9, 9);

// find the place in wich you want to add your menu item

// in this example I chose to add my menu item under

// SAP Business One.

oCreationPackage.Type = SAPbouiCOM.BoMenuType.mt_POPUP;

oCreationPackage.UniqueID = "MyMenu01";

oCreationPackage.String = "Quality Assurance";

oCreationPackage.Enabled = true;

oCreationPackage.Image = sPath + "UI.bmp";

oCreationPackage.Position = 9;

oMenus = oMenuItem.SubMenus;

Thanx and Regards,


Former Member
Not what you were looking for? View more on this topic or Ask a question