473,320 Members | 2,097 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,320 software developers and data experts.

Using VB 2005 assemblies with VB 2003

This should be simple.

I have a VB 2003 project that needs one VB 2005 component (I cannot just
port the project as a key component is currently 2003 only).

I created a class in VB 2005, tested it and compiled to a dll. VB 2003 will
not let me reference this dll and says it is not a valid assembly. Is there
something I'm doing wrong or is this just not possible.

Thanks

Peter Smith
Mar 28 '06 #1
2 1020
Pugwash,

Just not possible.

Cor

"Pugwash" <pu*****@community.nospam> schreef in bericht
news:OX**************@TK2MSFTNGP11.phx.gbl...
This should be simple.

I have a VB 2003 project that needs one VB 2005 component (I cannot just
port the project as a key component is currently 2003 only).

I created a class in VB 2005, tested it and compiled to a dll. VB 2003
will not let me reference this dll and says it is not a valid assembly. Is
there something I'm doing wrong or is this just not possible.

Thanks

Peter Smith

Mar 28 '06 #2
It is not possible because the .NET assembly 2.0 could use something
specific to .NET 2.0, such as new class library or some new feature of the
language such as Generics. So, you can´t use 2.0 assemblies from 1.x code.
But the opposite can work, that is, port to .NET 2.0 and use an assembly
1.x. See:

Compatibility Considerations and Version Changes
http://www.gotdotnet.com/team/changeinfo/
--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

"Pugwash" <pu*****@community.nospam> escribió en el mensaje
news:OX**************@TK2MSFTNGP11.phx.gbl...
This should be simple.

I have a VB 2003 project that needs one VB 2005 component (I cannot just
port the project as a key component is currently 2003 only).

I created a class in VB 2005, tested it and compiled to a dll. VB 2003
will not let me reference this dll and says it is not a valid assembly. Is
there something I'm doing wrong or is this just not possible.

Thanks

Peter Smith

Mar 29 '06 #3

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

Similar topics

5
by: hodari | last post by:
My program compiles correctly in VS 2003 but fails in VS2005 Express Edition - I get a compile error Inconsistent accessibility: return type 'VA.Customer' is less accessible than method...
1
by: rmunson8 | last post by:
Using the Beta of VS 2005, I'd like to create a website that will be deployed on a server that has .Net 1.1. I understand how to modify the IIS web site properties to run on .Net 1.1, and I have...
16
by: Kent | last post by:
We have created several Assemblies that we add to the GAC on our web servers. In an ASP.NET app in VS2003, Adding a reference to strong named GAC'd Assembly meant that the web app would use...
7
by: Mike | last post by:
I just recently returned to programming in VB.NET. I have come back to the programming side of things due to an internal business need. I have a library of books for VB that is not huge but it...
10
by: eswanson | last post by:
I have broken up my web site into smaller web site projects. When I look at the precompiled files, it always has the virtual directory in them ie: <preserve resultType="3"...
3
by: BK | last post by:
If I upgrade a PC from VS 2003 to VS 2005, can I run either of them or will I only be able to use VS 2005? I have a project that was started in VS 2003 that is about to go into production. I am...
3
by: Nathan Sokalski | last post by:
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005. I have several projects that I created in Visual Studio .NET 2003, but when I try to open them in Visual Studio .NET...
1
by: BF | last post by:
I have lots of C# applications developed in Visual Studio 2003 which I have not migrated into VS 2005. Now I need to call a C# DLL developed in VS 2005 from these C# applications of VS 2003. ...
2
by: Manikandan | last post by:
Hi, I have a program written in .Net Framework 1.1 using Visual studio enterprise edition 2003. I tried compiling the same program in visual c# express edition 2005. I'm getting following...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.