?
Solved

How To Organize code in VB.net

Posted on 2008-10-12
2
Medium Priority
?
391 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 195 total points
ID: 22697215
0
 
LVL 13

Assisted Solution

by:TechTiger007
TechTiger007 earned 180 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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 …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

839 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