Includes...libraries ??

JaedenRuiner

Well-known member
Joined
Aug 13, 2007
Messages
340
Programming Experience
10+
Okay,

so color me a noob, but how can I create a "Library" or "Standard include" as it is done in say Dephi or C++, etc. I mean, I like to create my own libraries and such and would like to have them universally available to all my projects without having to copy the source .vb file every time I want to use it.

I've got function libraries and class libraries, etc, can't i create them as a available namespace somewhere so all i'll need to do is:
Imports MyNameSpace.ThisThingy

and have that functionality available? Sorry, not too up on the whole vb.net thing so I've sort of done things a little redundantly but I know there is a way to do this, i just don't know how. *smile*

Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner
 
Create a Class Library project and compile it, reference the outputted dll file in your other projects. To use a class either qualify by namespace (dim x as theNamespace.theType) or import the namespace (imports theNamespace, dim x as theType). In project properties, references tab, you can import namespaces of referenced assemblies at application level too.
 
Back
Top