How To Organize code in VB.net

Posted on 2008-10-12
Medium Priority
Last Modified: 2013-11-05
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
Question by:TheSilverBullet
LVL 19

Accepted Solution

Stephen Manderson earned 195 total points
ID: 22697215
LVL 13

Assisted Solution

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)

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
Through the video, you can check the migration process of Outlook PST file to PDF. Kernel for Outlook to PDF tool can convert Outlook emails with all attributes like Subject, To, From, Cc, Bcc and other folders such as Inbox, Outbox, Sent Items, Jun…

624 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