AnsweredAssumed Answered

menuItem running wrong function [only on a few computers]

Question asked by Jacob Cordingley on Jul 7, 2009
Latest reply on Jun 15, 2010 by chris misztur
here is part of my code


partMaintenance = iCmdMgr.CreateCommandGroup(6, "&MyMenu\\Part Maintenance", "Part Maintenance", "Part Maintenance", 5)
partMaintenance.LargeIconList = iBuyMakeBmp.CreateFileFromResourceBitmap("SwSideBar.ToolbarLarge.bmp")
partMaintenance.SmallIconList = iBuyMakeBmp.CreateFileFromResourceBitmap("SwSideBar.ToolbarSmall.bmp")
partMaintenance.LargeMainIcon = iBuyMakeBmp.CreateFileFromResourceBitmap("SwSideBar.MainIconLarge.bmp")
partMaintenance.SmallMainIcon = iBuyMakeBmp.CreateFileFromResourceBitmap("SwSideBar.MainIconSmall.bmp")

partMaintenance.AddCommandItem("&Get PartNumber", 1, "GetPartNumber", "Part Number Generator", 2, "PartNumberGeneratorSUB", "Generatorenable", 501)
partMaintenance.AddCommandItem("&Replace PetName", 2, "Save part with real Part number", "", 2, "replacePetName", "replacePetNameEnable", 502)

when the user click Get PartNumber it runs Replace PetName
I think it becase when I wrote it I forgot to change the UserID number before installing on some computers, I fixed it but on a few it is still not working
i think it is stuck in computers Registry

1) Can I reset the menubar in SW2008sp4 to the default to fix it
2) if not is it in the computers Registry
2.1) if Yes what keys can i delete to fix it
3) or is there anothr option

I can't debug this becase the computers that it is mess up on do not have VS

Outcomes