Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data on clipboard is invalid (Exception from HRESULT: 0x800401D3 (CLIPBRD_E_BAD_DATA)) #708

Open
bovender opened this issue Aug 11, 2018 · 0 comments

Comments

@bovender
Copy link
Owner

This issue was submitted by the add-in's exception handler.

Exception:

System.Runtime.InteropServices.COMException (0x800401D3): Data on clipboard is invalid (Exception from HRESULT: 0x800401D3 (CLIPBRD_E_BAD_DATA))
   at System.Runtime.InteropServices.ComTypes.IDataObject.GetData(FORMATETC& format, STGMEDIUM& medium)
   at System.Windows.DataObject.OleConverter.GetDataInner(FORMATETC& formatetc, STGMEDIUM& medium)
   at System.Windows.DataObject.OleConverter.GetDataFromOleHGLOBAL(String format, DVASPECT aspect, Int32 index)
   at System.Windows.DataObject.OleConverter.GetDataFromBoundOleDataObject(String format, DVASPECT aspect, Int32 index)
   at System.Windows.DataObject.OleConverter.GetData(String format, Boolean autoConvert, DVASPECT aspect, Int32 index)
   at System.Windows.DataObject.OleConverter.GetData(String format, Boolean autoConvert)
   at XLToolbox.Export.ScreenshotExporter.CreateFreeImageViaDIB() in XLToolbox\Export\ScreenshotExporter.cs:line 90
   at XLToolbox.Export.ScreenshotExporter.ExportSelection(String fileName) in XLToolbox\Export\ScreenshotExporter.cs:line 45
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoExportSelection(FileNameMessageContent messageContent) in XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 106
   at Bovender.Mvvm.Messaging.Message`1.<>c__DisplayClass2.<Send>b__0()
   at Bovender.Mvvm.Actions.FileDialogActionBase.Invoke(Object parameter)
   at System.Windows.Interactivity.TriggerBase.InvokeActions(Object parameter)
   at Bovender.Mvvm.Actions.NonUiTrigger.Invoke(Object parameter)
   at Bovender.Mvvm.Actions.MessageActionExtensions.Invoke(MessageActionBase action, EventArgs messageArgs)
   at XLToolbox.Dispatcher.<ExportScreenshot>b__8(Object sender, MessageArgs`1 args) in XLToolbox\Dispatcher.cs:line 262
   at Bovender.Mvvm.Messaging.Message`1.Send(T messageContent, Action`1 respond)
   at XLToolbox.Export.ViewModels.ScreenshotExporterViewModel.DoChooseFileName() in XLToolbox\Export\ViewModels\ScreenshotExporterViewModel.cs:line 84
   at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter)

Message: Data on clipboard is invalid (Exception from HRESULT: 0x800401D3 (CLIPBRD_E_BAD_DATA))

Environment

Parameter Value
Version 7.2.13
OS Microsoft Windows NT 10.0.15063.0, 64-bit
Excel 365 (16.0.4266), 64-bit
CLR 4.0.30319.42000, 64-bit
VSTO runtime 10.0.60301
ClickOnce False
Bovender 0.17.0.0
FreeImage 3.16.0
Identifier cfc342fd0777394c4d3d71a03e1b037fe9fd2d43ba5c626b39858ce74a9326d2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant