有没有办法获得在系统(taskmanager)中创build的Excel对象的计数? 我想要使用C#代码来计数,我使用的是C#版本2.0。 请帮忙。 提前致谢。
在我的应用程序中,我使用spreadsheetgear来处理Excel文件。 我使用下面的代码: //move incorrect to aux incorrectLine.Select(); //select the line to be moved wbkView.Cut(); auxLine.Select(); wbkView.Paste(); //move correct to incorrect correctLine.Select(); //select the line to be moved wbkView.Cut(); incorrectLine.Select(); wbkView.Paste(); //move aux to correct auxLine.Select(); //select the line to be moved wbkView.Cut(); correctLine.Select(); wbkView.Paste(); 我不时收到以下错误: Requested Clipboard operation did not succeed. 与StrackTrace: at System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr) […]