Microsoft Visual Basic 2010 Step by Step eBook

(Tina Meador) #1

Chapter 17 Working with Printers 429



  1. Browse to the C:\Vb10sbs\Chap17 folder, and then click the Longfile .txt file.


In Windows 7, your Open dialog box looks like this:


  1. Click Open to select the file.


Your program loads the text file into the rich text box object on the form and then
enables the Print button. This file is long and has a few lines that wrap so that you can
test the wide margin and multipage printing options. Your form looks like this:
Free download pdf