Visual Basic Reference
SDI (SDINote.vbp)
See Also
This sample application demonstrates a Single Document Interface (SDI) notepad application. It also provides an introduction to menu creation and toolbars.
Background
The sample is comprised of a main form, a modal dialog form, and two basic modules. You can use this sample application in conjunction with the MDINote sample application to understand the differences between interface styles.For more information, see Chapter 6, "Creating a User Interface," in the Programmer's Guide.
File | Description |
Filopen.bas | Module containing common file handling code. |
Find.frm | Modal dialog form. |
FrmSDI.frm | The main notepad form. |
Frmsdi.frx | Binary data file for the Frmsdi.frm file. |
SDInote.bas | Module containing shared code. |
SDINote.vbp | The SDINote project file. |
To Run
From the Visual Basic File menu, choose Open Project and select the Sdinote.vbp file, which is listed in the Samples directory. Press F5 or choose Start from the Run menu to run the application.