question again :) i used the following codes to print .pdf and .doc files:
Dim psi As New ProcessStartInfo
psi.UseShellExecute = True
psi.Verb = "print"
psi.WindowStyle = ProcessWindowStyle.Hidden
psi.FileName = sReport
Process.Start(psi)
umm, is there a way to count the number of pages of the file being printed?
can you share some codes or links regaring this? tnx a lot..
kimiraikkonen wrote:
Quote:
Quote:
>hi! im currently doing a project in vb.net that could print 3 kinds of file
>formats: .txt, .pdf, and .doc
>i can already print text files but i haven't done pdf and .doc yet.
>can anyone help me with this please? ur help would be greatly appreciated.
>tnx!
>
>There's a thread which may help you for printing PDFs:
>
>
http://www.dnzone.com/forum/topic.asp?topic_id=89 --
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...b-net/200801/1