Peter Karlström
2010-01-20 14:39:02 UTC
Hi
We have developed a COM-addin for Word 2007 which runs fine in an ordinary
"fat" client.
But when the application is used in a Citrix virtual client environment, we
get strange file-locks on the templates from which the documents are built.
If one logged in user creates a new document from a template, and another
user is opening another document based on the same template while the first
user have the document still open, the user which is trying to open a
document gets an error that the template is write-protected.
This does not happen when you do the same thing on an ordinary client.
The error occurs when we try to connect the opened document with the
template with the command docvar.AttachedTemplate = templatePath &
templateName, where docVar is a Word.Document variable, templatePath is the
path to the template and templateName is the template name, for instance
DocStandard.dotx.
What could be wrong?
Thanks in advance
We have developed a COM-addin for Word 2007 which runs fine in an ordinary
"fat" client.
But when the application is used in a Citrix virtual client environment, we
get strange file-locks on the templates from which the documents are built.
If one logged in user creates a new document from a template, and another
user is opening another document based on the same template while the first
user have the document still open, the user which is trying to open a
document gets an error that the template is write-protected.
This does not happen when you do the same thing on an ordinary client.
The error occurs when we try to connect the opened document with the
template with the command docvar.AttachedTemplate = templatePath &
templateName, where docVar is a Word.Document variable, templatePath is the
path to the template and templateName is the template name, for instance
DocStandard.dotx.
What could be wrong?
Thanks in advance
--
Regards
Peter Karlström
Midrange AB, Sweden
Regards
Peter Karlström
Midrange AB, Sweden