Connecting Tech Pros Worldwide Help | Site Map

how to print .pdf and .doc files in vb.net

myrrh
Guest
 
Posts: n/a
#1: Jan 2 '08
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!

kimiraikkonen
Guest
 
Posts: n/a
#2: Jan 2 '08

re: how to print .pdf and .doc files in vb.net


On Jan 2, 5:39 pm, "myrrh" <u40347@uwewrote:
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
myrrh via DotNetMonster.com
Guest
 
Posts: n/a
#3: Jan 3 '08

re: how to print .pdf and .doc files in vb.net


hi! super thanks for the help toO.. :)
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

myrrh via DotNetMonster.com
Guest
 
Posts: n/a
#4: Jan 3 '08

re: how to print .pdf and .doc files in vb.net


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

Closed Thread