I can get the version number of an EXE, DLL or OCX on my PC using VB6, but I need this to be done in .NET.
Any ideas?
Woof
Printable View
I can get the version number of an EXE, DLL or OCX on my PC using VB6, but I need this to be done in .NET.
Any ideas?
Woof
How about this:
VB Code:
Dim fp As FileVersionInfo = FileVersionInfo.GetVersionInfo("C:\woka\sucks.exe") MessageBox.Show(fp.FileVersion)
Yup. That is correct, but you missed:
Stupid frog :DVB Code:
Imports System.Diagnostics
Woof
Nope. :)
*slaps badger*
Do do require that imposts line of code.
Muppet.
Why you not in bed?
Sorry, this code is in an ASP.NET web form :)
Woof
Quote:
Originally posted by Wokawidget
Do do require that imposts line of code.
WHAT?
Maybe it's past your bed time :p
Were you saying "Nope" to the fact I said you need that Imports line?
Woof
Nope.
I mean... yep!
I don't have the Imports statement in this app.
I need it...Maybe it's beacuse it's ASP.NET and not a .NET app...Hmmmmmmm
GO TO BED!
I just had black coffee, no sugar. I can't sleep. :(
I've had a few weeks of rough sleeping :(
Decided to knock the weed on the head for a while...just to prove to myself, and others, that I ain't addicted.
Apart from not feeling tired most of the time I have had no problem. Given up smoking cigs too after 5 years. Don't know what all the fuss is about :)
Woof
Please don't do this to yourself. :eek: :cry: :(Quote:
Originally posted by Wokawidget
Given up smoking cigs too after 5 years.
Why? I can't see what the problem is...it's easy :)
woof