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

my class library doesn't contain an assembly - how to add an assem

I put together a simple test class libary (VB2005) with one class and one
function that takes an integer argument and adds 10 the argument and returns
that number. Then I created a simple VB2005 app to test my class library
function. I made a reference to testClassLib.dll in the new project. Then I
made a function calls in a button sub and wrote the results to the console.
This worked fine.

Now I am trying to add a reference to a Reporting Services app (RS2003) to
the same class library, but the RS app is complaining that my class library
does not contain an asssembly. How do I add an assembly to my class library?
Or do I have to write the class library in VB2003? Or is it a C# thing?

Thanks,
Rich
Nov 16 '06 #1
3 2174
OK. I just rewrote my test class library in VB2003. Now RS2003 recognizes
it. In the project properties of my VB2003 class library it states Assembly
name and the name of the assembly. Does VB2005 not use assemblies anymore?
I am just asking for my own information. If VB2005 does use assemblies - how
do I add it to the class library dll?

Or is this an issue of No Backwards Compatability?

"Rich" wrote:
I put together a simple test class libary (VB2005) with one class and one
function that takes an integer argument and adds 10 the argument and returns
that number. Then I created a simple VB2005 app to test my class library
function. I made a reference to testClassLib.dll in the new project. Then I
made a function calls in a button sub and wrote the results to the console.
This worked fine.

Now I am trying to add a reference to a Reporting Services app (RS2003) to
the same class library, but the RS app is complaining that my class library
does not contain an asssembly. How do I add an assembly to my class library?
Or do I have to write the class library in VB2003? Or is it a C# thing?

Thanks,
Rich
Nov 16 '06 #2
I just created a test app in VB2003 and tried to reference my dll from
VB2005. It complained. So I guess there is no backwards compatability on
this.

"Rich" wrote:
OK. I just rewrote my test class library in VB2003. Now RS2003 recognizes
it. In the project properties of my VB2003 class library it states Assembly
name and the name of the assembly. Does VB2005 not use assemblies anymore?
I am just asking for my own information. If VB2005 does use assemblies - how
do I add it to the class library dll?

Or is this an issue of No Backwards Compatability?

"Rich" wrote:
I put together a simple test class libary (VB2005) with one class and one
function that takes an integer argument and adds 10 the argument and returns
that number. Then I created a simple VB2005 app to test my class library
function. I made a reference to testClassLib.dll in the new project. Then I
made a function calls in a button sub and wrote the results to the console.
This worked fine.

Now I am trying to add a reference to a Reporting Services app (RS2003) to
the same class library, but the RS app is complaining that my class library
does not contain an asssembly. How do I add an assembly to my class library?
Or do I have to write the class library in VB2003? Or is it a C# thing?

Thanks,
Rich
Nov 16 '06 #3
Rich wrote:
I just created a test app in VB2003 and tried to reference my dll from
VB2005. It complained. So I guess there is no backwards compatability on
this.
..Net 2.0 apps can reference .Net 1.1 assemblies. What was the
"complaint" from VS?

Nov 16 '06 #4

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

Similar topics

1
by: DM | last post by:
Get this error when I try to run any ASP.NET web app from Visual Studio on my Win2K PC. Anyone seen this before ? BC32400: Class 'CLSID_CorSymWriter' could not be created: System Error...
3
by: Makarand Keer | last post by:
Hi All I have around 3 versions of same assembly installed in my GAC. Now I have to un-install all these assem from GAC, for this I removed all the references to these assem and called gacutil -...
1
by: Jeff Molby | last post by:
Sorry for the crossposting guys. I figured this one might be a little tricky, so I'm calling upon the C# brains out there to help out this poor VB developer. I know enough C# to translate any code...
6
by: ryan.d.rembaum | last post by:
Hello, I have code that I wish to use in many web applications. Basically sort of stand utility stuff. So from Visual Studio Project I select add a component and chose Component Class. Lets...
1
by: JimC | last post by:
I use reflection to get a GIF image that contains a transparency mask (the white background should be transparent) that is part of my C# project build. The problem is that the image's...
1
by: learning | last post by:
Hi how can I instaltiate a class and call its method. the class has non default constructor. all examples i see only with class of defatul constructor. I am trying to pull the unit test out from...
1
by: hardieca | last post by:
Hi! I decorate my unfinished classes and methods with a custom TODO attribute (as in things To Do). Using reflection, I am then able to parse through my classes and output all TODOs to a list I...
0
by: mkadasi | last post by:
I want to dynamically create instance of class stored in other application. I am writing the following code for this purpose: Here in the AssemblyFunc() I am loading the assembly of TariffClass...
0
by: Chepre | last post by:
Hi, I've the following problem. I load an assembly dinamically through code, but I can't call the method GetCredentials correctly, it's allways null. Assembly assem =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
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.