ExecutionEngineException on GetData(DataFormats.EnhancedMetafile)

G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top