The information in this article applies to:
SUMMARYThis article describes how to use the AppInfo$() function to return information about whether you are running the 16-bit version of Word (Word for Windows) or the 32-bit version of Word (Word for Windows NT). This information is important when you use macros that must access functions in Windows DLL files because 32-bit applications can only access 32-bit DLLs. MORE INFORMATION
NOTE: This article assumes a basic working knowledge of WordBasic.
AppInfo$(1)
The following macro example identifies the type of Word for Windows currently running:
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN
RISK. Microsoft provides this macro code "as is" without warranty of any
kind, either express or implied, including but not limited to the implied
warranties of merchantability and/or fitness for a particular purpose.
For additional information, please see the following article in the
Microsoft Knowledge Base:
Q128944 Handling Cross-Platform Differences in WordBasic REFERENCES"Microsoft Word Developer's Kit," version 6.0, pages 258-259 Additional query words: 6.0 winword ntword wordnt macro wordbasic word6 appinfo appinfo$() appinfo$
Keywords : kbmacroexample |
Last Reviewed: January 7, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |