Microsoft KB Archive/31930

= Difference between Saving as Text, Compressed, and Protected =

Article ID: 31930

Article Last Modified on 11/21/2006



This article was previously published under Q31930



SUMMARY
There are three formats in which QuickBASIC program source files can be saved:


 * 1) Compressed

Compressed program files are tokenized binary files that load more quickly into the QuickBASIC environment and take up less disk space than files saved as Text.
 * 1) Text

ASCII Text source files are useful if editing is to be done with an editor other than the QuickBASIC editor environment. Other editors will not load the file unless it is saved as ASCII Text.

Please note that if Macintosh resources are stored in a source file, the QuickBASIC editor environment automatically preserves the resources when it saves the file. Other editors may not save resources stored in the source code.
 * 1) Protected

Protected files can be run only within the QuickBASIC environment, and cannot be compiled. Attempting to compile a protected program gives you &quot;Illegal Function Call.&quot; A protected program's source code cannot be accessed. This format is useful only when you want to give someone a final copy of the program and do not want him or her to view the source code. Save a copy of the program as Text or Compressed before saving the file as Protected; otherwise, you cannot see or make any more changes to the code.

Additional query words: MQuickB

Keywords: KB31930

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.