PRB: Apple Guide Help Files Need Type of HELP (160245)
The information in this article applies to:
- Microsoft Visual FoxPro for Macintosh 3.0b
This article was previously published under Q160245 SYMPTOMS
After 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.
CAUSE
The Apple Guide does not have a type of "help."
RESOLUTION
Change 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
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | KB160245 |
---|
|