Object Oriented Programming 2 – Class Library Files

preview_player
Показать описание
This is the second in a series of videos which introduce object oriented programming (OOP) using Visual Basic.NET (VB.NET). This video explains the use of class library files, namely, dynamic link libraries (.dll files). It covers how to write class code inside a VB.NET Class Library project, compile it as a binary .dll file then reference and use it from within a Windows Forms Application project. A discussion of some of the benefits of using class libraries is also included, specifically, opportunities for code reuse, easy upgrade and maintenance of applications and distributed applications. Later videos in the series will cover property procedures, constructors, method overloading and inheritance.
Рекомендации по теме
Комментарии
Автор

I guess you must be from UK !!your voice is so soothing and so professional.... Absolutely clear and crisp .... You are definitely awesome!

evanjava
Автор

Your explanation to these OOP concept is outstanding!!! Thank you very much.. Hope to get more videos from you!!

evandawson
Автор

Excellent video! I have years of experience with VB/Visual Studio, suffered a TBI and now working to learn to code again... your videos, and comments are outstanding and a great learning tool. Thank you for putting these on YouTube!

revronvic
Автор

The explanations are really clear, further.. the typing sounds are so satisfying to me XD

lin-mh
Автор

Sir you type very very well i liked it

munylou
Автор

Absolutely superb; never realised dlls were classes !

pinns
Автор

I'm sure I'll find a use for Class Libraries as I progress. It's pretty simple the way you lay it out ...Thank you so much...JT

jtlunsford
Автор

Should you put the class library project inside of the solution if your app is the only program using the library?

spence
Автор

Has the way to link .dll changed? I have followed the steps but I get a FileNotFoundException when I execute the CatteryApp project.

talllpaul
Автор

Whenever I instantiate a new object I get this error "Overload resolution failed because no accessible 'new' accepts this number of arguments"

ZaydH
Автор

Thank you for the well explained OOP concept.
I have the save problem as TallPaul. Everything went well. I can compile and I can execute. But when I press on the button there will be the FileNotFoundExection error. I work with Windows 10 and use Visual Studio 2019 community. I tried it on different ways. When I looked at the location of the dll file, I see an extra map and on 2 different places the dll file. Example of the locations: AND
There is a extra map net5.0windows and in the second case a map ref.
When I browse for the location of the dll file, it went wrong in both.
Do you know what the problem is and how I can fix this, because I see the benefit of a class library. Thank you.

erzet
Автор

This is the second video I watched and again, I still fail to see any benefit of OOP! I still can create a dll library like I used to do with the procedural programming since the days I was working on VB6.

MAbduser
Автор

does anyone know why visual studio 2019 gives an error message of filenotfound ?

programpotato
Автор

CurrentVaccinations should be an Array. CurrentVaccinations() As Boolean.

Then an Enum that lists various vaccinations the cat might have.

CafeenMan