Get File Version from EXE File

hi folks

how can i get the file version from a exe file. i need that information for a setup download website.

best regards
Philipp
0
Phil_CH
1/5/2006 7:56:38 AM
asp.net.web-forms 93655 articles. 6 followers. Follow

2 Replies
1193 Views

Similar Articles

[PageSpeed] 26
Get it on Google Play
Get it on Apple App Store

Use System.Diagnostics.FileVersionInfo.GetVersionInfo(path) to get the version info of a file.

Hope this helps!

Paul
0
eccsolutions
1/5/2006 3:36:19 PM
yes, thanks a lot :)
0
Phil_CH
1/5/2006 4:11:39 PM
Reply:

Similar Artilces:

Help on how to get Product Version and File Version on exe file
Hi All, Is there a way of getting the Product and File version of my pb application during runtime? Is there a pb function I can use or do I have to use an API function to do this? Currently using PB 9.0.1 Build 7171 Regards and Thanks, Willie ...

How can I call an exe file in web page (c#), and send
In a web page, (c#) How can I call an exe file ,and send - recive parameters from exe file client-side? that would be a massive security risk, so no. Signed ActiveX can do it, but it's expensive and not parrticularly trusted by the general populace RTFM - straight talk for web developers. Unmoderated, uncensored, occasionally unreadableJason Brown - MVP, IIS This may help YouCreate a console application using System; using System.Collections.Generic; using System.Text; namespace simpleadd { class Program { static void Main(string[] args) { ...

How to get the load address of the .net executable file(exe file) ?
hello: I am reading an article about .net(Rewrite MSIL Code on the Fly with the .NET Framework Profiling API)from msdn, http://msdn.microsoft.com/msdnmag/issues/03/09/NETProfilingAPI/ ,but i have some trouble about it . it said : If you added the method's RVA to the load address (the address where the executable file for the "Hello World!" assembly was loaded), you would see a memory dump layout similar to the one shown in Figure 3. On my machine, the load address was 0x06EA1000, I want to know : how can i get the load address of the exe file on my machine?is there s...

how to open .exe file in a web form in vb.net?
hi, Are there any one who know to open .exe file from a web form application? make a link like: My Exe ...

get file size from web file
Hello, I'm writing a vb.net application that is getting files from the internet. How can I get the filesize from a file (could also be an html or aspx page) that is located on the web? The system.io only works for diskfiles. Kindest regards, Tom Govaert Hello, I passed through this before, you need to tranform the url into a physical address. Ask you hosting company on the disk drive that is used to access your files locally and then use it to do the conversion. regards.Bilal Hadiar, MCP, MCTS, MCPD, MCTMicrosoft MVP - Telerik MVP...

File version of exe-file generated by PB
Is it possible to hardcode the File version (as seen under Properties of the exe-file) of the a generated exe-file? I.e. we do not want the PowerBuilder version number displayed, but our own. We are using version 7.0 of PowerBuilder. Regards, Vegard. No, you need a third party tool. The version field on the application compiler window is wrongly titled. It's actually the exe file's product version, not the file version. Someone mentioned they fixed this in PB9. "vegard" <vegard@timerecorderdata.no> wrote in message news:ebacQV3IDHA.187@forums...

how to make an VB.Net file into an Exe file?
Hi Friends, I am learning VB.net by myself. So if someone could help me out that wil be greatful. 1. How to make an VB.net file into an Exe file? 2. I hv to make a exit button which has to work as follows.... It has to display a msgbox "Do u want to quit?" and it needs Yes or No button... if u click, Yes the form has to close or stay as it is... I have written the code like this....But its not working.... Private sub btnExit_Click(Byval sender as object, ByVal e as EventArgs) Dim response as Msgboxresult msgbox("Do u want to quit?", Ms...

How to get a file version of an exe
If I right click on a file and select properties, I get a window with a version tag that shows me the version of the file. How can I get that with code? I have been looking at the following window api call: BOOL GetFileVersionInfo(LPCSTR lptstrFilename, DWORD dwHandle, DWORD dwLen, LPVOID lpData ); Does anyone have some sample code that does this? I always get confused when trying to match arguments with windows api and I'm not sure how to use this if this is even the right way. Thanks > If I right click on a file and select properties, I get a > ...

superreview granted: [Bug 283628] Firefox .exe file reports incorrect version info : [Attachment 175585] Bump internal file versions for browser and mail
Brian Ryner (IBM) <bryner@brianryner.com> has granted Chase Phillips <cmp@mozilla.org>'s request for superreview: Bug 283628: Firefox .exe file reports incorrect version info https://bugzilla.mozilla.org/show_bug.cgi?id=283628 Attachment 175585: Bump internal file versions for browser and mail https://bugzilla.mozilla.org/attachment.cgi?id=175585&action=edit ...

superreview requested: [Bug 283628] Firefox .exe file reports incorrect version info : [Attachment 175585] Bump internal file versions for browser and mail
Chase Phillips <cmp@mozilla.org> has asked Brian Ryner (IBM) <bryner@brianryner.com> for superreview: Bug 283628: Firefox .exe file reports incorrect version info https://bugzilla.mozilla.org/show_bug.cgi?id=283628 Attachment 175585: Bump internal file versions for browser and mail https://bugzilla.mozilla.org/attachment.cgi?id=175585&action=edit ------- Additional Comments from Chase Phillips <cmp@mozilla.org> Still need to find where 1.7.5 / 2004110711 is coming from. Not sure yet. ...

How to Run my .exe file or Application in the Background using .NET Application like explorer.exe file is Running always in the Background...(you can see in task Manager..)
Hi , This is Sundar , i want to develope one small Application in windows or web ,that should send the mail continiously according to at what time scheduled in the application and that should Running in the Background always like windows service,SQL server ........ so , please help me ......................  what;s the problem if you develop an windows service and install it in your system.  http://www.15seconds.com/issue/021007.htmGive a man a fish and you feed him for a day. Teach a man to fish and you feed him forever.  see, i have created the Windows services and wh...

Initiaiting .exe file in a web form
Hi fellars,                I have done a exe file using Visual Studio.Net in Windows Applications. Wat i want to know , is that i have a web form in ASP.NET(visual basic language). How do i call the .exe file (or start it) from the web form. Thanks.                You can do the same way from a web form (Process.Start). Make sure asp.net process has sufficient permissions. let's say the name of the application is WindowsApplication1.exe , ...

How can i get the web file's file type?
I want get the web file's file type because i want to show it by a same aspx page so i must know the Response.ContentType. The web page such as: http://i2.microsoft.com/h/all/s/13.5_rtw/hp.js http://i2.microsoft.com/library/mnp/2/gif/ql.gif http://i.microsoft.com/h/all/i/ms_masthead_8x6a_ltr.jpg ...Thanks for your help.Weboy B.Wan---------------------------------------MSN: weboy.wan"at"msn.comE-Mail: weboy.wan"at"gmail.com huh? Are you iterating through a directory structure and wanting to show some image based on the file type? If so just split on the "." and tak...

Trouble getting data from an XML file form XSL file
I am having trouble writing an XSL file and getting the data to display. The XML file comes from an external source, and so I do not have control over how it’s written. Here’s the XML <?xml version="1.0" encoding="UTF-8" ?> <THREAT_ADVISORY CONDITION="ELEVATED" /> I am having trouble getting the condition attribute to display. I done have several variations on the code below in my XSL file: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="...

Web resources about - Get File Version from EXE File - asp.net.web-forms

Authorized King James Version - Wikipedia, the free encyclopedia
The title page to the 1611 first edition of the Authorized Version Bible by Cornelis Boel shows the Apostles Peter and Paul seated centrally ...

Donald Trump accidentally calls right wing’s version of “religious liberty” exactly what it is: power ...
... make appeals to “religious freedom” they’re advocating for a restoration of lost privilege . Unlike his opponents’ more subtle version of Christian ...

Oculus is sending developers the finished version of its virtual reality headset
Oculus is sending developers the finished version of its Rift headset, according to a blog post . The shipments, which will be made this week, ...

How Spider-Man's New Costume Will Be Different Than Previous Versions
We know that Spider-Man will make his Marvel Cinematic Universe debut next year in Captain America: Civil War , and though we don't know what ...

How to restore older versions of iOS apps
Usually, an app update is a good thing. But sometimes, things go wrong: An update does the opposite of what you expect it to do. In that scenario, ...

Chris Christie's version of his national security creds completely overblown
This is going to come as a shock, so brace yourself: Chris Christie isn't telling the truth about his national security record. The New Jersey ...

Shin Megami Tensei X Fire Emblem is out in Japan, digital version is preferred
... in the near future. One such revelation is that the game actually loads nearly twice as fast in digital form, beating out the disc version quite ...

North Korea's version of Linux is extremely oppressive
It's no secret that North Korea has its own Linux distribution, Red Star OS, that limits you to a government-approved view of the world. However, ...

Ciena to Offer Commercial Version of ONOS SDN Operating System
The company in the first quarter 2016 will launch Blue Planet ONOS to help service providers embrace SDN and NFV for their data centers.

Tenacious D's Potty-Mouthed Acoustic Cover Version of Queen's Flash Gordon Rules
Watching this video might make you want to go back to Jack Black’s school of rock. Here’s Black, and Tenacious D bandmate Kyle Gass, performing ...

Resources last updated: 12/29/2015 8:20:51 PM