Solved

How To Organize code in VB.net

Posted on 2008-10-12
2
354 Views
Last Modified: 2013-11-05
Hi
I am a java programmer asked to do something with vb.net, in java there are packages to organize the classes, how to have something like this in vb.net, I dont like to have all classes and forms in one place
0
Comment
Question by:TheSilverBullet
2 Comments
 
LVL 19

Accepted Solution

by:
Stephen Manderson earned 65 total points
ID: 22697215
0
 
LVL 13

Assisted Solution

by:TechTiger007
TechTiger007 earned 60 total points
ID: 22697616
Hope below points may be useful

1 You can have split your code into multiple DLLs
2 package is equalent to namespace in dotnet.
3 You can have multiple namespaces in single DLL
4 Also you can have same namespace across multiple DLLs
5 You can have multiple classes/structs/etc in a namespace
6 All classes which are under same namespace will be grouped and displayed to you while coding whether it is in same DLL or different
7 You can also split a class into multiple files (partial classes)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question