Quick question...
What is the difference between a regular form and a MDI form, and whats the difference between a class and a regular module?
Printable View
Quick question...
What is the difference between a regular form and a MDI form, and whats the difference between a class and a regular module?
Taken from MSDN
Two different styles are available for the Visual Basic IDE: single document interface (SDI) or multiple document interface (MDI). With the SDI option, all of the IDE windows are free to be moved anywhere on screen; as long as Visual Basic is the current application, they will remain on top of any other applications. With the MDI option, all of the IDE windows are contained within a single resizable parent window.
Standard Modules
Standard modules (.BAS file name extension) are containers for procedures and declarations commonly accessed by other modules within the application. They can contain global (available to the whole application) or module-level declarations of variables, constants, types, external procedures, and global procedures. The code that you write in a standard module isn't necessarily tied to a particular application; if you're careful not to reference forms or controls by name, a standard module can be reused in many different applications.
Class Modules
Class modules (.CLS file name extension) are the foundation of object-oriented programming in Visual Basic. You can write code in class modules to create new objects. These new objects can include your own customized properties and methods
MDI Forms can contain many Forms within itself, whereas a Regular Form cannot.
When you open MSWord, you can type into 3 different documents at a time with only 1 instance of the App loaded, whereas, if you want to draw multiple pictures with Paint, you have to open as many Paint App's as needed.