So I have been trying to find a method where I can do a PrintPreview on a specific Text Document before Printing using PrintPreviewControl but all the methods I found were using TableAdpters and DataGridView which I should be using but am not. If anyone knows a way that I can do this please?
On my form I have a PrintDocument and PrintPreviewControl
My code is very limited for this as I extremely confused and stuck.
Here is my code:
Code:Private Sub FrmStockPrint_Load(sender As Object, e As EventArgs) Handles MyBase.Load PrintStockDetails.DefaultPageSettings.Landscape = True PrintPreviewControl1.Document = PrintStock() End Sub Sub PrintStock() End Sub





Reply With Quote
