Click to See Complete Forum and Search --> : HOW: Re-use in VB.Net
dee-u
Jul 20th, 2005, 09:01 PM
In VB6.0 we could compile our useful functions into a DLL and reference it in our projects, how about in VB.Net?
RobDog888
Jul 20th, 2005, 09:41 PM
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.
dee-u
Jul 20th, 2005, 09:42 PM
Isnt .Net is all about disposing COM?
RobDog888
Jul 20th, 2005, 10:07 PM
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".
dee-u
Jul 20th, 2005, 11:00 PM
Yap, if I could help it then i want to use "pure" .Net. :)
RobDog888
Jul 20th, 2005, 11:32 PM
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 (http://www.microsoft.com/Com/default.mspx) on COM for a complete and better explaination of COM.
Gangsta Yoda http://www.vbforums.com/attachment.php?attachmentid=38679
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.