Peter Allen
asked on
Reusable code in Class Library and Forms
I am creating an application which has multiple smaller applications (exe)s to make up the larger framework. Can I use DLLs (Class Libraries in VB.NET? When I work on one of the sub-applications how can I access a form's controls in another application. The main example here would be the main application. It basically resides in the background calling the other apps.
Yes you can create class library and put any of the common methods there. To access them you simply have to add IMPORTS <library name> at the top of the page that needs to access the methods.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much for the explanation. Very clear.