![]() That is to say, when Office open a customized vsto document. So the manifest is desinged to be built into document. ![]() It is no longer to be sense to put the manifest in a single file. ![]() Is Microsoft Word hardcode the template path in anyway?Īs to document leve project. If I make a new directory C:\Program Files\MA on Machine B, and then copy ProjectTemplateName.dot from C:\Program Files\MB into C:\Program Files\MA. The error message is "Word cannot open this document template." I went into debug mode, it fails at line "wd.Documents.Open" Ref refmissing, ref refmissing, ref refmissing, ref refmissing, ref refmissing, ref refmissing, ref refmissing, ref refmissing, ref refmissing, ref refmissing) Wd.Documents.Open(ref ofn, ref refmissing, ref refmissing, ref refmissing, ref refmissing, ref refmissing, Object ofn = (object)sFilename // file to open from some location ![]() Machine B can save and open, without any problem and does not matter the location.īut when Machine B try to open a saved file from Machine A, either from network or copied from machine A locally, Word fail to open it. Machine A can save and open, without any problem and does not matter the location. Let say machine A install to: C:\Program Files\MAĪnd machine B install to: C:\Program Files\MB I was able to deploy on different machine and they all run find. I have a problem loading a file that i saved. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |