473,770 Members | 7,229 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1207
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*******@icin ema.comwrote in message
news:OK******** ******@TK2MSFTN GP05.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*******@icin ema.comschreef in bericht
news:OK******** ******@TK2MSFTN GP05.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****@imnotte lling.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*******@icin ema.comwrote in message
news:OK******** ******@TK2MSFTN GP05.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
1377
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 why I mention php.) I am using mysql_error() and mysql_errno() - no problem there, but my question concerns the values they return in different versions of mysql. With my versions the errno is 1062, and the error string contains the word
0
1820
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 multiple simultaneous postmasters, which are wanted by people hosting several database clusters. I assume these proposals may also be of interest to Red Hat packagers. I am copying it to the PostgreSQL list in case there are any obvious...
0
1569
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). Each of these services has a init script in /etc/init.d and a corresponding configuration file in /etc/sysconfig. We use the 'chkconfig' utility to decide if each of those services will be activated on boot or not (it manipulates links under...
6
3712
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 problems. 1) I have hyperlinks in some tables and when I try to access the hyperlinks I get an error message "An unexpected error has occurred. 2) I've been trying to do some automation through Access for MS Word using VBA code. I've been...
7
1695
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 errors fast and professionally
3
2459
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 System.Collections.Comparer has 1 members, number of members deserialized is 0. at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.GetMemberTypes(String
0
1369
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 as the .Net framework can create an interop for you which you can use in your project. The problem I'm facing is that the COM enabled application can be several
3
1395
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 it. Is it possible to customize this page and for example save to exception info in a database and display a custom message to the user. Does anybody know if this is possible?
2
1733
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. Do you wish to debug? Line: ... Error: Expected ';'" This shouldn't happen. Adding the validators to the pages has changed
3
8290
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 the utility to work for all 3 versions. A previous post suggested creating objects to detect the version of outlook, which I tried with success. But, that's as far as I can get. No one out there shows how to go beyond version detection to...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10058
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5450
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3972
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2817
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.