Find dotnet version?

Illusion

Centurion
Joined
Aug 7, 2003
Messages
105
Location
Uk
Hi,

I wondered if anyone can help me..
How do I find the dotnet version that the user is running?

so for example..

If idotnet = 1 then
msgbox("You are running dotnet version " + idotnet)
else
msgbox("Program doesn't support your dotnet version!")
end if

Thanks

Illusion.
 
System.Environment.Version

Code:
System.Environment.Version

Bear in mind that if the user does not have the required version of the framework that your application was built with, the application may not start at all.

Good luck :cool:
 
Hi,

ah thanks :)

it was more along the lines, in 1.0 dotnet the zip lib I was using works fine..
but in 2.0 dotnet they fixed something which messes up my program but is a bit different.. so had to check which code to use...
lots of problems .. lol :)

Thanks again

Illusion. :cool:
 
Back
Top