J
Jackie
Hi
I am writing an application in vb.net where the user can
choose a document from their PC (will be either *.doc,
*.pdf or *.txt) - say c:\templates - and can either
preview the document or print it.
I can preview the text file using: PrintPreviewDialog
I understand why this will not work as expected for
formatted files, but I don't know where to begin to be
able to print or preview a Word/PDF file.
For the time being, I have just allowed the user to open
the document (Dim obj As System.Diagnostics.Process and
then obj.Start(strFile)) but this is not really
appropriate.
Any suggestions?
Thanks
Jackie
I am writing an application in vb.net where the user can
choose a document from their PC (will be either *.doc,
*.pdf or *.txt) - say c:\templates - and can either
preview the document or print it.
I can preview the text file using: PrintPreviewDialog
I understand why this will not work as expected for
formatted files, but I don't know where to begin to be
able to print or preview a Word/PDF file.
For the time being, I have just allowed the user to open
the document (Dim obj As System.Diagnostics.Process and
then obj.Start(strFile)) but this is not really
appropriate.
Any suggestions?
Thanks
Jackie