473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File version vs Product Version - simple question - best practice

I am using the FileVersionInfo class and want to know which is most commonly
accepted: the File version or the Product version?

When I use the UI to look at \\myServer\Prog ram Files\Common
Files\System\ad o\msado15.dll

I get 2.70.9001.0 for both the File and Product versions.

When I look at some Custom and Third Party COM I get mixed results:
1.01.0001 for Product, 1.1.0.1 for File version.

Question: What is the most commonly tracked version to use? It would appear
that File would win since MS shows that first thru the UI. You have to
click around to find Product version. But when I use the .NET class to
request File Version - my code:
Return myFileVersionIn fo.FileVersion. ToString

I am actually getting Product Version.

Please advise.

Keith

Nov 22 '05 #1
1 3812
PS this code gives me an accurate File Version, but my question stands -
Which version (File or Product) is more commonly accepted? I bet File since
that is what MS shows first in the UI.

Return myFileVersionIn fo.FileMajorPar t.ToString & "." & _

myFileVersionIn fo.FileMinorPar t.ToString & "." & _

myFileVersionIn fo.FileBuildPar t.ToString & "." & _

myFileVersionIn fo.FilePrivateP art.ToString
Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
485
by: Keith | last post by:
I am using the FileVersionInfo class and want to know which is most commonly accepted: the File version or the Product version? When I use the UI to look at \\myServer\Program Files\Common Files\System\ado\msado15.dll I get 2.70.9001.0 for both the File and Product versions. When I look at some Custom and Third Party COM I get mixed...
19
3205
by: Johnny Google | last post by:
Here is an example of the type of data from a file I will have: Apple,4322,3435,4653,6543,4652 Banana,6934,5423,6753,6531 Carrot,3454,4534,3434,1111,9120,5453 Cheese,4411,5522,6622,6641 The first position is the info (the product) I want to retreive for the corresponding code. Assuming that the codes are unique for each product and all...
4
1806
by: Josh Carlisle | last post by:
I've been tasked with developing a document/file versioning system of sorts. Similar to a very scaled down source control system. We're integrating it very closely with an existing application so it must be 100% home grown. Similar to how many source code controls systems behave I'd like to only save only differences from the original in each...
5
1757
by: Sky | last post by:
What makes something a valid DataSource? What methods/iterators/etc? Why do I ask? I do understand that a DataSet is based on an XML structure...but it's too table structured for what I am thinking... Can one read in a an xml file that has various embedded nodes (ie: records that have children records as XML does best) -- possibly not all...
2
1228
by: Sandy | last post by:
Hello - I have been using the 60-day trial software for quite some time (currently have Version 7.1.3088 installed) and have recently purchased Visual Studio ..net Special Edition Version 2003. I have a few practice web apps I would like to keep. Do I uninstall the 60-day trial and install the purchased version or can I install over the...
8
9710
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my problem: my vb.net program has problems with UNC. If the UNC server is restarted or goes off-line, my VB.net program crashes. The code for UNC...
6
3676
by: Gavin Sullivan | last post by:
I've been using the date (in YMMDD) format for the build number in the AssemblyVersion attribute. However, it appears that numbers 65534 are invalid!! Bit of a bummer for 2007!!! Is there a reason for this? 65535 would make sense!? Is there a work around, patch, etc?? Regards
19
4756
by: rmr531 | last post by:
First of all I am very new to c++ so please bear with me. I am trying to create a program that keeps an inventory of items. I am trying to use a struct to store a product name, purchase price, sell price, and a taxable flag (a Y/N char) and then write this all out to a file (preferably just a plain old text file) and then read it in later so...
4
4802
by: BorisBoshond | last post by:
Hi all, Hope someone is able and willing to help me with following problem. I received a xsd file from another company, our company i supposed to return xml based on that xsd. Problem is that I don't really understand how these namespace work in xml. (I am however aware of what problems namespaces solve) I'm not even sure if the provided...
0
7694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.