I cannot get the preview call function to work with the document I call>
Private Sub PrintPreviewToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuPrintPreview.Click If ppdPreview.ShowDialog() = Windows.Forms.DialogResult.OK ThenppdPreview.Document = txtDocument.SelectAll
End If
Print Preview Document
Lewis Yeung
SelectAll() method does not return back anything. I'm actually surprised it compiles
Take a look at the docs for information and examples on how to make a Print Preview Dialog:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.printpreviewdialog.aspx
The doc is better at explaining than myself :-)