473,387 Members | 1,304 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,387 software developers and data experts.

Versions, Errors and Chaos

I reently made the move to Visual Studio 2005 using the express editions
downloaded from Microsoft's site. In 2003, I was not able to use some DLLs
in VB that were created in C# 2005. So I upgraded. Now I find that I still
can't use them. I can use DLLs written in C# 2005 in another C# app in the
same version, but not in VB 2005. Does this make any sense?

And in the first place why can't I use DLLs written in C# 2005 in VB 2003?
DLLs should be able to be used transparently. Is there any place this is
all discussed clearly i.e. what one can and cannot do in the Express
version? Should I just break down and get the Profesional Version? Any
thoughts?

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com
Mar 16 '08 #1
3 1193
Visual Studio 2003 targets the .Net 1.1 Framework.

Visual Studio 2005 targets the .Net 2.0 Framework.

I would guess that's why you can not use a 2005 dll in a 2003 project.

AFAIK, you should be able to use DLL's created in VS2005 in any language in
an application written in any other language. What exactly is the problem
you're seeing, and how are you creating it?

RobinS.
GoldMail.com
"Anil Gupte" <an*******@icinema.comwrote in message
news:OK**************@TK2MSFTNGP05.phx.gbl...
>I reently made the move to Visual Studio 2005 using the express editions
downloaded from Microsoft's site. In 2003, I was not able to use some DLLs
in VB that were created in C# 2005. So I upgraded. Now I find that I
still can't use them. I can use DLLs written in C# 2005 in another C# app
in the same version, but not in VB 2005. Does this make any sense?

And in the first place why can't I use DLLs written in C# 2005 in VB 2003?
DLLs should be able to be used transparently. Is there any place this is
all discussed clearly i.e. what one can and cannot do in the Express
version? Should I just break down and get the Profesional Version? Any
thoughts?

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com

Mar 17 '08 #2
Anil,

You can use any version of DLL from C++, C# or VB for Net mixed in those
language, as long as you not are violating the common language rules about
this.

By instance one I know direct from my head is that you cannot use *Public*
members which have the same name in upper and lower case.

The later of course not for private or internal members as they are not
visible for other programs.

Cor
"Anil Gupte" <an*******@icinema.comschreef in bericht
news:OK**************@TK2MSFTNGP05.phx.gbl...
>I reently made the move to Visual Studio 2005 using the express editions
downloaded from Microsoft's site. In 2003, I was not able to use some DLLs
in VB that were created in C# 2005. So I upgraded. Now I find that I
still can't use them. I can use DLLs written in C# 2005 in another C# app
in the same version, but not in VB 2005. Does this make any sense?

And in the first place why can't I use DLLs written in C# 2005 in VB 2003?
DLLs should be able to be used transparently. Is there any place this is
all discussed clearly i.e. what one can and cannot do in the Express
version? Should I just break down and get the Profesional Version? Any
thoughts?

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com

Mar 17 '08 #3
Actually I do have .Net Framework 2.0 installed. I noticed however that my
Add/Remove Programs also shows .Net Framework 1.1 as installed. Now I find
that in Visual Basic Express there are no Windows Service or Web Service
projects. nor are there any Setup & Deployment projects. Looks like I will
have to bite the bullet and just upgrade to Professional.

Thanx for the advice.
--
Anil Gupte
www.keeninc.net
www.icinema.com

"RobinS" <ro****@imnottelling.comwrote in message
news:5r******************************@comcast.com. ..
Visual Studio 2003 targets the .Net 1.1 Framework.

Visual Studio 2005 targets the .Net 2.0 Framework.

I would guess that's why you can not use a 2005 dll in a 2003 project.

AFAIK, you should be able to use DLL's created in VS2005 in any language
in an application written in any other language. What exactly is the
problem you're seeing, and how are you creating it?

RobinS.
GoldMail.com
"Anil Gupte" <an*******@icinema.comwrote in message
news:OK**************@TK2MSFTNGP05.phx.gbl...
>>I reently made the move to Visual Studio 2005 using the express editions
downloaded from Microsoft's site. In 2003, I was not able to use some
DLLs in VB that were created in C# 2005. So I upgraded. Now I find that
I still can't use them. I can use DLLs written in C# 2005 in another C#
app in the same version, but not in VB 2005. Does this make any sense?

And in the first place why can't I use DLLs written in C# 2005 in VB
2003? DLLs should be able to be used transparently. Is there any place
this is all discussed clearly i.e. what one can and cannot do in the
Express version? Should I just break down and get the Profesional
Version? Any thoughts?

Thanx,
--
Anil Gupte
www.keeninc.net
www.icinema.com


Mar 17 '08 #4

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

Similar topics

1
by: Malcolm Dew-Jones | last post by:
Hello I need to detect duplicate errors when using mysql to insert a row in a php program. (I assume that the php version should not make a difference, but I don't know that for sure, which is...
0
by: Oliver Elphick | last post by:
The attached proposal is written primarily for Debian. Its motivation is that the current package upgrade process is pretty flaky and also that the current packaging does not really provide for...
0
by: Fernando Nasser | last post by:
Multiple database services and multiple versions on Red Hat Linux systems The way it works is that we require a specific service script for each database service (that is listening on each port)....
6
by: Ecohouse | last post by:
I have a computer with XP on it. I loaded Office 97 first because I needed Access 97 for some work. I then loaded Office 2000. Everything seemed to be running fine. But I have come across a few...
7
by: onauc | last post by:
Hi, There are many versions of C and C++ built by many differen companies. So, which version : 1. more easier to learn 2. more easier to remember 3. more easier to debug 4. helps me find...
3
by: Alexander | last post by:
When i store rule on PC with .NET.SP1 i cant restore them from PC without SP1. An i get this Error: System.Runtime.Serialization.SerializationException: Possible Version mismatch. Type...
0
by: Brinkie | last post by:
Hi, I have the following situation: I have a COM enabled application installed on multiple machines. I'm building a management application for the COM application. Normaly this is very easy...
3
by: Mikael Engdahl | last post by:
Hello, When an unhandled exception occurs on an ASP.NET page, a well known page will appear, having the header "Server Error in '' Application" and the Exception Details and Stack Trace below...
2
by: Axel Dahmen | last post by:
Hi, I've added a couple of validators to my page. Now I get a couple of Runtime Errors when I load the page (I have "Show client-script errors" enabled in IE6): "A Runtime Error has occurred....
3
by: wizzbangca | last post by:
Hi everyone. Having problems with a utility I am writing for work. The previous IT Director thoughtfully allowed 3 (2000, xp, 2003) versions of outlook to be installed rather than 1. Now I need...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.