"Compile XML"?

L

Larry

In one of my template files, the Debug => Compile menu item in the VBA
editor has changed to Debug => Compile XML. Also, at the same time,
I've started getting "Disk full" messages when I try to save the file
after "Compiling XML"; but I don't get that message if I save without
compiling.

I had no trouble compiling when the menu item just said "Compile". Any
ideas, anyone?

--larry
 
A

AlexT.

In one of my template files, the Debug => Compile menu item in the VBA
editor has changed to Debug => Compile XML. Also, at the same time,
I've started getting "Disk full" messages when I try to save the file
after "Compiling XML"; but I don't get that message if I save without
compiling.

I had no trouble compiling when the menu item just said "Compile". Any
ideas, anyone?

--larry

Which version of Word are you using ?

--alexT
 
K

Kristi

In VBA, the text that follows the label 'Compile' on the Debug menu is
generally the Template Project's name. For example if you were to select the
Normal template, from Project Explorer, the Debug Menu and Compile would read
'Compile Normal'

You can change the template project name by selecting the template in
Project Explorer, then Select the Tools Menu and Project Properties (in your
case XML Project Properties should be displayed) On the General Tab, enter
the project name you desire.

Disk Full error on compile can occur if the template is referencing an
Object or Library that is not found on the computer. You can check this by
selecting the template in Project Explorer, then select the Tools Menu and
References. Objects and Libraries that are included/used by the template are
listed at the top and checked. Review each one and remove those which are
not found or are not used. Then recompile the template. If you receive a
reference error indicating a library is not found. You need to re-add the
reference to the Object or Library. If the Object or Library is not in the
list on your computer, you may need to install the associated software to see
the needed Object or Library.

Hope this helps.
 
L

Larry

Thanks, Kristi; turned out I had a reference to OLE Automation (why, I
don't know) that was unneeded and not actually available. I removed it
from the reference list and I got both a clean compile and a
successful save. And you were right about the "XML" -- it's what the
original creator of the project named it, and I'd never noticed it
before.
 

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