P
Peter Karlström
Hi
We just discovered a very strange error in Word 2007, which we first thought
was our component VB6 COM-Addin, but after unloading it, the error keps occur.
We currently are running Office 2007 swedish with SP2 MSO (12.0.6425.1000)
We are testing the environment for an upcoming swith from compatibility mode
to
full Word 2007 dotc mode together with our COM Addin.
This is the steps to reproduce the error:
1. Start Word
2. Open VB Editor, and in the Immediate Window, type this:
activedocument.Variables.Add "testvariable", "testvalue" and press ENTER
3. Close VB Editor, close Word window and answer Yes to save the changes.
4. Save the file to Desktop
5. Open the file and switch tio VB Editor.
6. In the immediate window, type ? activedocument.variables("testvariable")
and press ENTER
7. The value is displayed but is corrupted.
If we check XML-code from the file Settings.xml in our testing environment,
many of the values we use gets the value w:docVa.
How come this is happening?
This is a very critical error for our system, since document variables holds
valuable pieces of information for handling the documents.
Hope anybody have som ideas.
Best Regards
We just discovered a very strange error in Word 2007, which we first thought
was our component VB6 COM-Addin, but after unloading it, the error keps occur.
We currently are running Office 2007 swedish with SP2 MSO (12.0.6425.1000)
We are testing the environment for an upcoming swith from compatibility mode
to
full Word 2007 dotc mode together with our COM Addin.
This is the steps to reproduce the error:
1. Start Word
2. Open VB Editor, and in the Immediate Window, type this:
activedocument.Variables.Add "testvariable", "testvalue" and press ENTER
3. Close VB Editor, close Word window and answer Yes to save the changes.
4. Save the file to Desktop
5. Open the file and switch tio VB Editor.
6. In the immediate window, type ? activedocument.variables("testvariable")
and press ENTER
7. The value is displayed but is corrupted.
If we check XML-code from the file Settings.xml in our testing environment,
many of the values we use gets the value w:docVa.
How come this is happening?
This is a very critical error for our system, since document variables holds
valuable pieces of information for handling the documents.
Hope anybody have som ideas.
Best Regards