A Print Dialog Box

Visual Basic User's Guide > A Word Processor

When the Print... menu item is clicked, first a Common Dialog box is shown to let the user enter the range of pages, number of copies and printer specific information. The rest of the procedure, which is part of the MDIChild form, is just a loop which sets the appropriate Text Control properties for every page to be printed.