# Compile VB6 Projects and File version

**URL:** https://www.finalbuilder.com/forums/t/compile-vb6-projects-and-file-version/2943
**Category:** Bugs
**Created:** [January 9, 2008, 2:51am UTC](https://www.finalbuilder.com/forums/t/compile-vb6-projects-and-file-version/2943 "2008-01-09T02:51:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![irobisnon](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/irobisnon/32/66_2.png) [@irobisnon](https://www.finalbuilder.com/forums/u/irobisnon)
#### Post date: [January 9, 2008, 2:51am UTC](https://www.finalbuilder.com/forums/t/compile-vb6-projects-and-file-version/2943/1 "2008-01-09T02:51:42Z")

</div>

Hi

&nbsp;

Im using the Compile VB6 project action, and using a VB Version Property set.

&nbsp;When the exe is compiled and i use the property set to assign the verison number the fileversion of the exe results in

**Majorversion.Minorverison****.0.Releaseversion**

But the Fileverison in the FileInformation results in **_Majorversion.Minorverison.Releaseversion_** &nbsp; ( although it is padded to couple of zeros)

Is this a fault?&nbsp; What results is that the "File Version" of the exe never matchs File Version information ?

Is there a work around as there is no way to set the fileverison via scripting.

&nbsp;

regards

&nbsp;

Ian robinson

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [January 10, 2008, 6:57am UTC](https://www.finalbuilder.com/forums/t/compile-vb6-projects-and-file-version/2943/2 "2008-01-10T06:57:17Z")

</div>

Hi Ian,   
  
 I think this is how VB6 is supposed to work. I created a new VB project, set version info to Major: 1, Minor: 2, and Release: 3, and then did a File | Make, the version info that Windows reported was:   
 File Version (at top of properties): 1.2.0.3   
 File Version and Product Version (in the Other version information section): 1.02.0003   
  
 cheers,   
 tate.

---

<div class="post-metadata">

### Author: ![irobisnon](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/irobisnon/32/66_2.png) [@irobisnon](https://www.finalbuilder.com/forums/u/irobisnon)
#### Post date: [January 11, 2008, 3:21am UTC](https://www.finalbuilder.com/forums/t/compile-vb6-projects-and-file-version/2943/3 "2008-01-11T03:21:36Z")

</div>

Thats what im talking about.   
  
 Why do they not have revision number as the 3 number as per the order in the project properties? Or at least show a “0” that you cant edit.   
  
 Go figure! Maybe there is something on MS website /resource compiler.   
  
 ill post back if i find something
