Ciao a tutti ho trovato molto esempi in rete, ma non ho trovato una semplice metodo che mi posso stampare un file ( in questo caso pdf ) senza aprirlo, leggerlo e impostarlo...codice:Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click Dim item As ListViewItem Dim checkedItems As ListView.CheckedListViewItemCollection = lVFile.CheckedItems For Each item In checkedItems 'ottengo il nome del file esempio 123.pdf MsgBox(item.SubItems(0).Text) If PrintDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then 'qui dovrei printare il file End If Next End Sub
a me basta solo stampare in base al nome del file...( dando magari anche l'eventuale path )
č possibile??