Microsoft KB Archive/45949

= GET INFO Version Number Data Can Be Changed Using ResEdit =

Article ID: 45949

Article Last Modified on 11/21/2006



This article was previously published under Q45949



SUMMARY
This information applies to all Macintosh applications.

Prior to the System file Version 6.00, there was no version data (&quot;vers&quot; resource) available from the System Get Info command in the File menu. Programs that were designed to run on earlier Systems therefore did not include a version (&quot;vers&quot;) resource. If you have upgraded to System 6.00, you may want to create a resource that will display the version data for a particular application.

The version data (&quot;vers&quot; resource) is typically a string that gives the name, version number, and date of the application, but it can in fact be any data at all. The resource ID of the version data is 0 (zero) by convention.



MORE INFORMATION
If you want to add a version resource for an application, use ResEdit. The following are step-by-step instructions of how to use ResEdit to create a version resource and to change the information in an existing version resource.

Do the following to create a version (&quot;vers&quot;) resource:
 * 1) Launch ResEdit.
 * 2) Open (double-click) the application that you want to modify.
 * 3) Create a new &quot;vers&quot; resource (use only lowercase letters) with an id =1 and enter the desired text.

Do the following to change the existing information in a version (&quot;vers&quot;) resource:
 * 1) Launch ResEdit.
 * 2) Open (double-click) the application that you want to modify.
 * 3) Open (double-click) the resource named &quot;vers&quot;.
 * 4) You will see the hexadecimal code for the version resource in the center of the window. To the right, you will see the ASCII equivalent. You can edit the desired ASCII text by using the Edit Menu to cut out the information you want to change; then, type the information you desire.

Additional query words: MQuickB

Keywords: KB45949

-

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

© Microsoft Corporation. All rights reserved.