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

VB.NET 2003 Standard Classes & DLL Creation

Can the standard edition of VB.NET 2003 create DLL's? I have purchased the
standard edition while I re-teach myself the VB language but I am struggling
to create references to a class which is in the same Solution but in a
different Project because it complains that the Class is not a DLL.

Any idea's if it is because I have the standard edition or I am doing
something wrong?

Here is the exact error message: -

====
A reference to 'Class Name' could not be added. An assembly must have a
'dll' extension in order to be referenced.
====

Kind Regards,

Paul Woodward
Nov 20 '05 #1
3 2413
Paul,

To create a DLL, select ClassLibrary as the project type on a new project
wizard. You will then need to Add a Reference to your classlibrary from your
existing project.

-- Alex Papadimoulis

"Paul Woodward" <no****@myinbox.com> wrote in message
news:eo*************@tk2msftngp13.phx.gbl...
Can the standard edition of VB.NET 2003 create DLL's? I have purchased the
standard edition while I re-teach myself the VB language but I am struggling to create references to a class which is in the same Solution but in a
different Project because it complains that the Class is not a DLL.

Any idea's if it is because I have the standard edition or I am doing
something wrong?

Here is the exact error message: -

====
A reference to 'Class Name' could not be added. An assembly must have a
'dll' extension in order to be referenced.
====

Kind Regards,

Paul Woodward

Nov 20 '05 #2
* "Paul Woodward" <no****@myinbox.com> scripsit:
Can the standard edition of VB.NET 2003 create DLL's?


No.

"Workarounds":

Open the ".vbproj" file in notepad and change the 'outputtype' to 'library'.

Alternatively, you can use this add-in for Visual Basic .NET Standard:

<URL:http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=517>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3
Cheers Guys,

Your help is very much appreciated...

Regards,

Paul Woodward
Nov 20 '05 #4

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

Similar topics

9
by: Zunbeltz Izaola | last post by:
Hi to all! I wonder if it possible (i'm sure python can do :-) ) to define classes on runtime. My problem (schematically) is the folowwin. The User can choise betwenn 3 property of an object....
18
by: dover | last post by:
Instantiation of classes is to create objects in areas of memory. As a side effect of that object creation, the constructor is called. Three steps can be identified in an instantiation of a class:...
43
by: Steven T. Hatton | last post by:
Now that I have a better grasp of the scope and capabilities of the C++ Standard Library, I understand that products such as Qt actually provide much of the same functionality through their own...
10
by: Barbara Alderton | last post by:
I am working with SharePoint 2003. I am using (using C#) an existing webpart as a child control (server control). I need to access/manipulate the HTML that the control outputs prior to rendering...
9
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test...
6
by: John Wells | last post by:
Guys, My boss has been keeping himself busy reading MySQL marketing pubs, and came at me with a few questions this morning regarding PostgreSQL features (we're currently moving to PostgreSQL). ...
11
by: Kevin Prichard | last post by:
Hi all, I've recently been following the object-oriented techiques discussed here and have been testing them for use in a web application. There is problem that I'd like to discuss with you...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.