Iff the user has saved their worksheets with the XML option for saving all regions as images then you can reconstruct the worksheet directly with a 'bit' [aka a lot] of XML coding.
Each region has its image in one of the data sections which are IIRC uuencoded versions of the png of the region image. The region location is in the main XML struct.
There was a bit of code on the old collab (or perhaps the Adept list) that simply extracted all the images from the xmcd file.
It was called xmcdGetPicture.exe
Found it. see attached
with look the attached zip will contain the original Adept email stuff, a ReadMe, and a .exe.file (see the readme)
Here's how this program works (I did these steps in Windows Vista Business 32-bit):
1. Put into the same folder the program "xmcdGetPicture.exe" along with a Mathcad worksheet.
2. Drag and drop Mathcad worksheet into "xmcdGetPicture.exe", then there will be create "PNG" images in the same folder (if images not appear, then double-click on "xmcdGetPicture.exe").
I have the same error as you ("...line16") on WinXP SP3 32-bit . Maybe Philip have any comments?
Let's hope so. I tried the program on my home machine because I thought it might have been an issue with privileges on my work machine, but got the same result.
I tried some stuff on Wiundows XP 32 bit (my little netbook - I'm away on equipment trials..).
The error message about line 16 occurs is no parameter is passed (or possibly is unrecognised?)
If you drag and drop a file onto the exe in explorer the results go into your documents and setting folder - i.e. it's above the My Documents you normally see.
I've run it in a dos window and then the results are in the same folder as the dos prompt (which also was where the exe was..)
Make sure you actually have images set ON in the File>>Properties.. || XML Options tab otherwise it will report no images.
It worked for me with V15 files (see attached).
To inspect the xmcd file contents change theire extensions to .xml and then open them in regular MS Internet Explorer which will show you the heirarchy and allow opening and closing of the 'folds' of each data group.
If you have a file difference programme (e.g. Beyond Compare - very good) then it should also help (e.g. change extensions to .txt and use your regular editor to do a comparison - e.g. MS Word document compare ;-)
You will see two extra items at the end of my examples - note the common starting characters
<item item-id="1">iVBORw0KGgoAAAANSUhEUgAAACwAAAARCAYAAACmYE5yAAAAAXNSR0IArs4c6QAAAARnQU1B ......
I'm sure you can google what they mean.
http://stackoverflow.com/a/2341029/717355 explains its base-64 encoded data.
See attached examples
added google result