问题描述
对COM组件的调用返回了错误HRESULTE_FAIL。在DSOFramer._FramerControl.ReplaceText(StringstrSearchText,StringstrReplaceText,Int32lGradation)在AxDSOFramer.AxFramerControl.ReplaceText(StringstrSearchText,StringstrReplaceText,Int32lGradation)在CSFramework4.detectionmodel.frmbaogaoEdit.ReplaceVal(Stringfilespath)位置C:MyWorksjlsCSFramework4.ClientCSFramework4.detectionmodelfrmbaogaoEdit.cs:行号664在CSFramework4.detectionmodel.frmbaogaoEdit.frmbaogaoEdit_Load(Objectsender,EventArgse)位置C:MyWorksjlsCSFramework4.ClientCSFramework4.detectionmodelfrmbaogaoEdit.cs:行号413在System.Windows.Forms.Form.OnLoad(EventArgse)在System.Windows.Forms.Form.SetVisibleCore(Booleanvalue)在System.Windows.Forms.Control.set_Visible(Booleanvalue)在System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32reason,ApplicationContextcontext)在System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32reason,ApplicationContextcontext)在System.Windows.Forms.Application.RunDialog(Formform)在System.Windows.Forms.Form.ShowDialog(IWin32Windowowner)在System.Windows.Forms.Form.ShowDialog()在CSFramework4.detectionmodel.frmJyBaogao.ibtnxbg_ButtonClick(Objectsender,ButtonPressedEventArgse)位置C:MyWorksjlsCSFramework4.ClientCSFramework4.detectionmodelfrmJyBaogao.cs:行号142在DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit.RaiseButtonClick(ButtonPressedEventArgse)在DevExpress.XtraEditors.ButtonEdit.OnClickButton(EditorButtonObjectInfoArgsbuttonInfo)在DevExpress.XtraEditors.ButtonEdit.OnMouseUp(MouseEventArgse)在System.Windows.Forms.Control.WmMouseUp(Message&m,MouseButtonsbutton,Int32clicks)在System.Windows.Forms.Control.WndProc(Message&m)在DevExpress.Utils.Controls.ControlBase.WndProc(Message&m)在DevExpress.XtraEditors.TextEdit.WndProc(Message&msg)在System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&m)在System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&m)在System.Windows.Forms.NativeWindow.Callback(IntPtrhWnd,Int32msg,IntPtrwparam,IntPtrlparam)求各位大神!!在线等急
解决方案
解决方案二:
没大神遇到过这问题吗?
解决方案三:
我也遇到这个问题,记得好像是因为没有注册DsoFranmer.ocx的原因