Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hell all,

I creating Word 2010 documents that will have content controls that I will bind XML to. I am using the Word Content Control Toolkit to help facilitate this.

I have run into an issue with a picture content control. If I create the control then open the document with the content control toolkit and add create an xml part with the following simple XML:


Then use the toolkit to bind the pic node to my picture control. If I open the document it looks ok. However if I resize the image control, save the document and reopen it I get the following error: "The file filename.docx cannot be opened because there are problems with the contents. I get the option to try and recover the file but doing so results in the image being moved a bit(seemingly random) and even if I saved the recovered file I will continue to get that error every time I open it.

Could anyone suggest what could be going wrong here? I have done this type of stuff before and didn't have an issue. Any help or advice would be very much appreciated, thanks!

share|improve this question

You must log in to answer this question.

Browse other questions tagged .