|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.NET : Show print dialog before printing Word objectHi all,
I would like to know how can I do to display print dialog so that the user can choose printer when printing word document object. Basically, I download rtf document on the HD and open it with VB.NET then use printout method to print it. Now, what I want to do is to make the print dialog available. Thanks in advance This is an example of both the OpenFileDialog() and the PrintDialog,
You first choose a file, and then choose the printer. Dim ofd As New OpenFileDialog() If ofd.ShowDialog(Me) Then ' Allow the user to select a printer. Dim pd As New PrintDialog() pd.PrinterSettings = New PrinterSettings() If (pd.ShowDialog() = Forms.DialogResult.OK) Then ' Print the file to the printer. End If End If
array - how do you get the number of dimensions?
Barcode Reader Application -- HELP Edanmo Shell Extension: How to Install it? Unmanaged DLL Callback - Program Unexpectedly Quits tab function in a multiline text box Carriage Return and Line Feed Syntax need help reading contents of a file into an array...SKYPE ME. Com+ and asp.net? Moving Rectangle within a PictureBox Control Interface creation in VB.Net 2005 |
|||||||||||||||||||||||