How to Change the Creator and Type Set by FCREATE()

Last reviewed: June 1, 1996
Article ID: Q109482
The information in this article applies to:
  • Microsoft FoxPro for Macintosh, version 2.5b
  • Microsoft Visual FoxPro for Macintosh, version 3.0b

When the FCREATE() function is used, FoxPro for Macintosh creates a FoxPro document; by default, the Creator and Type of the file are set to:

   Creator - foxx
   Type    - TEXT

You can change the Creator and Type of a Macintosh file from within FoxPro for Macintosh. For example, to change the Creator of the file to TeachText (ttxt), issue the following commands:

   SET LIBRARY TO FOXTOOLS
   =FxSetType( "<filename>", "TEXT", "ttxt" ) && To change to TeachText


Additional reference words: VFoxMac 3.00b FoxMac 2.50b
KBCategory: kbprg
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 1, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.