|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ExecutionEngineException on GetData(DataFormats.EnhancedMetafile)When I execute such a simple piece of code:
IDataObject data = Clipboard.GetDataObject(); object o = data.GetData(DataFormats.EnhancedMetafile); while the clipboard contains a fragment of an MS Word document (which happens to have Enhanced Metafile as one of its formats), I get ExecutionEngineException (!). Any ideas? I'm aware of KB323530, but it addresses a rather oposite situation (data stored by .NET application not visible outside). I'm using .NET framework 2.0 (2.0.50727), XP Pro SP2, Office 2003 SP2. Thx, Jakub |
|||||||||||||||||||||||