Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What version of .NET FRAMEWORK ?

Status
Not open for further replies.

vinidel

IS-IT--Management
Jan 23, 2004
78
US
Hi ALL,

I want to know what version of .NET FRAMEWORK I have on my machine?

1. If I look under add/ remove programs listing via control panel I do see .Netframework Version 1.1 and also 2.0.

2. If I check from Visual Studio 2003, Help and then About it says Microsoft Version 1.1

So I am confused that what version am I using?

Thanks,
 
You have both installed. So:

1. You can see it there and also in the administrative tools from control panel.

2. It says there 1.1 because this is what 2003 edition wants.
Visual Studio 2002 uses .NET Framework 1.0
Visual Studio 2003 uses .NET Framework 1.1
Visual Studio 2005 uses .NET Framework 2.0

Hope i helped you!
 
You can have all three version of the framework installed on any PC. When working on your app if you right click on the solution and hit properties there should be an option in the dialog box for which version of .Net to compile with. (I don't think the option is in VS2k2, but I'm pretty sure it is in 2k3 and 2k5)

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Thanks guy for your reply.

Ok here is the situation: I am using Microsoft Excel 11.0 Object library in my VB.NET project.
I have two machine that are identical with operating system (XP Professional), office suite 2003 and both the machines are installed with .NET Framework 1.1 and 2.0

But suprisingly one machine complaints about the reference to Microsoft excel 11.0 Object lib.
So I remove and add again the same reference and I have to change my code:

Dim XLApp As New Excel.Application

to


Dim XLApp As New Microsoft.Interop.Excel.Application

Now I am wondering could it be possible that one of the Visual Studio 2003 is refering to different .NET Framework version.




 
Make sure both target machines have the same version of Excel installed. I ran into that same problem a while ago because some machines had the MS Office Primary Interop Adapter (err, something like that, acronym was PIA) installed.

So, see if either of the machines have it installed, if not, make sure to run the Office updater from the MS Office web site. If one of them does have it installed, either uninstall it from that machine, or install it on the other machines. I'm pretty sure you can include the PIA libraries in your distributable if you need to.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top