The information in this article applies to:
SYMPTOMS
The DefaultDir$(0) function may or may not return the DOC-PATH directory.
CAUSEBy design, the DefaultDir$(0) function returns the current default directory, which you can change by selecting a different directory in the File Open dialog box. As a result, if you have not changed the default directory since you started the current Word session, DefaultDir$(0) returns the DOC-PATH directory. On the other hand, if you change the default directory, DefaultDir$(0) returns the current default directory instead of the DOC-PATH directory. MORE INFORMATIONThis functionality is not clearly defined in online help or in the "Microsoft Word Developer's Kit." REFERENCES"Microsoft Word Developer's Kit," version 6.0, page 331 Additional query words: 6.0 macros document paths functions word6 winword6.ini [microsoft word] section docerr winword ntword wordnt
Keywords : kbmacro kbusage |
Last Reviewed: December 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |