Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All

Since I'm new in the world of oop and vb.net I would like to ask you a simple question.

I hear about classes being the blueprints of objects etc but I couldn't find any information on how to structure a program.

Should I create a .dll and put all my classes in, calling it from my main program and using the objects from there?
Should I create a project, create all classes needed in the main program and compile the whole thing to a .exe?
Should I use another technic?

How should my program be architecture? :doh:
Posted
Comments
Rajesh Sajjanar 21-Sep-10 14:03pm    
Too many questions, dont confuse yourself, can you ask one questions at a time so that user can help you

Are you writing classes that would be useful for more than one project? If so, putting those classes into a library (DLL) would make sense. If your classes are specific to your project, creating a separate library for them may not make much sense, in which case you'd include them in the executable project instead.
 
Share this answer
 
Comments
Perifanos73 21-Sep-10 17:14pm    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
But there is only one question.

What is the proper way of architecturing a program?
 
Share this answer
 
ok, thanks for your answer.

To extend my question a little bit, how about modules...
When and where should one use them, if one should use them at all...

Best Regards
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900