Results 1 to 3 of 3

Thread: Quick Question...Not too important

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    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?

  2. #2
    New Member
    Join Date
    Jun 2000
    Location
    Australia
    Posts
    11
    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


  3. #3
    Guest
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width