473,403 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

File Version

Rob
Hi Gurus,
How do I get the file version?

I am able to get the write time using IO.File.GetLastWriteTime(FileName)
But don't know how to get the version number.

Please help me.

I'll appreciate your help.

Thanks, Rob.
Sep 10 '07 #1
3 1087
Rob,

Dim fvi As FileVersionInfo =
FileVersionInfo.GetVersionInfo("C:\SomeFile.exe")
MessageBox.Show(fvi.FileVersion)

--
Newbie Coder
(It's just a name)


"Rob" <Ro*@hotmail.comwrote in message
news:eW****************@TK2MSFTNGP03.phx.gbl...
Hi Gurus,
How do I get the file version?

I am able to get the write time using IO.File.GetLastWriteTime(FileName)
But don't know how to get the version number.

Please help me.

I'll appreciate your help.

Thanks, Rob.


Sep 10 '07 #2
Rob
Thank you very much.

Rob.

"Newbie Coder" <ne*********@spammeplease.comwrote in message
news:Od****************@TK2MSFTNGP04.phx.gbl...
Rob,

Dim fvi As FileVersionInfo =
FileVersionInfo.GetVersionInfo("C:\SomeFile.exe")
MessageBox.Show(fvi.FileVersion)

--
Newbie Coder
(It's just a name)


"Rob" <Ro*@hotmail.comwrote in message
news:eW****************@TK2MSFTNGP03.phx.gbl...
>Hi Gurus,
How do I get the file version?

I am able to get the write time using IO.File.GetLastWriteTime(FileName)
But don't know how to get the version number.

Please help me.

I'll appreciate your help.

Thanks, Rob.



Sep 10 '07 #3
Rob,

My pleasure

--
Newbie Coder
(It's just a name)
"Rob" <Ro*@hotmail.comwrote in message
news:%2******************@TK2MSFTNGP02.phx.gbl...
Thank you very much.

Rob.

"Newbie Coder" <ne*********@spammeplease.comwrote in message
news:Od****************@TK2MSFTNGP04.phx.gbl...
Rob,

Dim fvi As FileVersionInfo =
FileVersionInfo.GetVersionInfo("C:\SomeFile.exe")
MessageBox.Show(fvi.FileVersion)

--
Newbie Coder
(It's just a name)


"Rob" <Ro*@hotmail.comwrote in message
news:eW****************@TK2MSFTNGP03.phx.gbl...
Hi Gurus,
How do I get the file version?

I am able to get the write time using IO.File.GetLastWriteTime(FileName)
But don't know how to get the version number.

Please help me.

I'll appreciate your help.

Thanks, Rob.



Sep 11 '07 #4

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

Similar topics

3
by: Michael Bøcker-Larsen | last post by:
Hi I'v been stuck on this problem for ages now. I have found that I'm not the only one with this problem, by looking through the different newsgroups. Hope you can help me! I know there is a...
5
by: Laurence | last post by:
In VS.2005 using VB.NET There are two versions on every project, The Assembly Version and the File Version. Why are there two different versions? As far as I can tell, there is not need for...
1
by: Jerry John | last post by:
I am working in ASP.NET with C#. I have a text file which contains datas with delimiters. For example:- MSH|^~\$|DISCHARGE|CLAY COUNTY MEMORIAL|||200502110939| I also have an XML file created...
2
by: Miro | last post by:
I will ask the question first then fumble thru trying to explain myself so i dont waste too much of your time. Question / Statement - Every mdb table needs a PrimaryKey ( or maybe an index - i...
9
by: JimmyKoolPantz | last post by:
IDE: Visual Studio 2005 Language: VB.NET Fox Pro Driver Version: 9.0.0.3504 Problem: I currently have a problem altering a DBF file. I do not get any syntax errors when running the program. ...
3
by: seb | last post by:
Hi, I am writing to a file some basic information using the logging module. It is working but in the log file some line are printed several time. I had put some print debugging messages in the...
4
by: mcterborg | last post by:
Hello everyone, here is what I want to do. I have a ATI video card and it allows me to setup profiles for monitor configurations and so forth. The shortcut to activate one of these profiles looks...
7
by: dm3281 | last post by:
Hello, I have this non-standard XML file that I have to manually sort thru each day and verify whether various jobs finish successfully or not. This file isn't a real XML file, so I cannot appear...
4
by: Bob Altman | last post by:
Hi all, I have a C++/CLI project (VS 2005) that produces a DLL that exports C bindings. Internally, this DLL contains routines compiled with /clr. I notice that my DLL doesn't have a version...
4
by: nightscorpion | last post by:
Hello Gurus, i implemented the OpenFileDialog in my Windows Form Applications and it worked perfectly fine.However when it was run on a remote desktop i got the below error . ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...

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.