U8按鈕加入數據庫
--生產訂單\物料清單保存事件 DELETE AA_CustomerButton WHERE cCustomerObjectName = 'U8Api.U8ButtonEvent.clsButtonLinkCc' and cButtonKey in ('BtnStudy1','BtnStudy2'); INSERT INTO [AA_CustomerButton]([cButtonID], [cButtonKey], [cButtonType], [cProjectNO], [cFormKey], [cVoucherKey], [cKeyBefore], [iOrder], [cGroup], [cCustomerObjectName], [cCaption], [cLocaleID], [cImage], [cToolTip], [cHotKey], [bInneralCommand], [cVariant], [cVisibleAsKey], [cEnableAsKey]) VALUES(newid(), 'BtnStudy1','system', 'U8CustDef', 'MO21', 'MO21','tlbSave','0', 'IEDIT','U8Api.U8ButtonEvent.clsButtonLinkCc','保存','zh-cn','Confirm','保存','Ctrl+N',1, '保存','tlbSave','tlbSave') INSERT INTO [AA_CustomerButton]([cButtonID], [cButtonKey], [cButtonType], [cProjectNO], [cFormKey], [cVoucherKey], [cKeyBefore], [iOrder], [cGroup], [cCustomerObjectName], [cCaption], [cLocaleID], [cImage], [cToolTip], [cHotKey], [bInneralCommand], [cVariant], [cVisibleAsKey], [cEnableAsKey]) VALUES(newid(), 'BtnStudy2','system', 'U8CustDef', 'BO11', 'BO11','tlbSave','0', 'IEDIT','U8Api.U8ButtonEvent.clsButtonLinkCc','保存','zh-cn','Confirm','保存','Ctrl+N',1, '保存','tlbSave','tlbSave')
2、dll註冊
1.在命令行中執行“cd /d C:\Windows\Microsoft.NET\Framework\v4.0.30319”,打開.net framework路徑 .
2.然後輸入註冊命令“ Regasm I:\U816_1\U8SOFT\UAP\RUNTIME\U8Api.dll”即可將COM組件註冊到系統中。