PRB: Apple Guide Help Files Need Type of HELPLast reviewed: December 5, 1996Article ID: Q160245 |
The information in this article applies to:
SYMPTOMSAfter you set Help to an Apple Guide Help file in Visual FoxPro for Macintosh, you receive the following error when you call Help:
Microsoft Help - This file is not a Microsoft Help file. CAUSEThe Apple Guide does not have a type of "help."
RESOLUTIONChange the "Type of the Apple Guide" to "help" using ResEdit or some other resource editor that can change the type of a file. Use the following code in Visual FoxPro to check and then set the "Type of an Apple Guide" to "help":
\* kbon CLEAR SET HELP TO && set HELP back to the default help file SET LIBRARY TO SYS(2004)+"Foxtools.cfm" cType="" cCreator="" * The next command only displays Apple Guides that have a type * of "poco." See Help for GETFILE() for information about * changing what files are displayed. cFileName=SYS(2027,GETFILE("", ; "Check 'All Files' if the file you want doesn't appear","OK",0,"poco")) =FxFileType(cFileName,@cType,@cCreator) ? "The File Type was "+'"'+cType+'"' ? "The File Creator was "+'"'+cCreator+'"' nCool=FxSetType(cFileName,"help","reno") IF nCool=0 =FxFileType(cFileName,@cType,@cCreator) ? "The File Type is now "+'"'+cType+'"' ? "The File Creator is now "+'"'+cCreator+'"' ELSE ? "There was an error" ? "The operating system error number is "+STR(nCool) ENDIF \* kboff STATUSThis behavior is by design.
MORE INFORMATIONPage 184 of the Visual FoxPro for Macintosh "Professional Features Guide" states that "Apple Guides developed for use with the Apple Guide Macintosh system extensions" can be used when integrating context-sensitive Help into an application. These Apple Guides need to have a type of "help" and a Creator of "reno." "poco" is another common "Type for Apple Guides."
Steps to Reproduce Behavior
|
KBCategory: kbtool kbref kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |