In VB6.0 we could compile our useful functions into a DLL and reference it in our projects, how about in VB.Net?
Printable View
In VB6.0 we could compile our useful functions into a DLL and reference it in our projects, how about in VB.Net?
I havent needed to do it yet but you can also reference another project if you want.
To reference a dll you made? Project > Add Reference > .NET or COM tab (depends on your dll) > Select it > Click OK.
Isnt .Net is all about disposing COM?
Just like the discussion about MS.VB namespace. ;)
If you want to create a dll using .net then you can create a new project of type - "Class Library - A project for creating classes to use in other applications".
Yap, if I could help it then i want to use "pure" .Net. :)
Let me re-phrase that before I get slammed. COM is more of a different type of technology, so to speak. As its name implies - Component Object Model. Its a wide area to cover and when writting anything new MS recommends that you use .NET. ;)
Check out this article on COM for a complete and better explaination of COM.
Gangsta Yoda http://www.vbforums.com/attachment.p...chmentid=38679