Can Vista cause Document.Variables to return nothing?

D

David Thielen

Is there some kind of security setting in Vista and/or Office 2007
where Word will return nothing in Document.Variables for WordML (.xml)
files? Because we have it on 2 systems here where running Word
normally it sees nothing in Variables but running under the debugger
it sees our entry.

DOCX is fine, it's WordML that is the problem.

??? - thanks - dave


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
C

Colbert Zhou [MSFT]

Hi Dave,

Based on my test, no matter what the target document type is, docx or
wordml, the Document.Variables.Count will return 0 if we have not added any
variable to the collection manually via codes.

I do not think the issue is related to Vista settings. I would suggest you
add some logging codes to make sure the adding variable codes are executed.
If you need future help, would you mind posting the codes about adding and
retrieving variables?


Best regards,
Colbert Zhou
Microsoft Online Support Team
 
C

Colbert Zhou [MSFT]

Hi Dave,

I am writing to check the status of this issue in your side? Any future
support we can provide from our side? If yes, please let me know.


Best regards,
Colbert Zhou
Microsoft Online Support Team
 
D

David Thielen

Hi Dave,

I am writing to check the status of this issue in your side? Any future
support we can provide from our side? If yes, please let me know.

We're still trying to figure out exactly what is going on here. It's
weird because in the debugger it works but running normally it returns
nothing. Making it hard to see inside the code.

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

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