|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Printing a pdf File in vb.netI would like to print a report which was created in Adobe Acrobat with the
extention pdf. Is there an easy way to do this. I am new at this and would appreciate any code that can help. -- Don Mylrea Don,
You can create a process and call the shell function with the verb 'print' for the file. This will refer back to the registry where Adobe should have registered all the available verbs. You can Google for System.Diagnostics.Process and System.Diagnostics.ProcessStartInfo to get you started. However, when I have done this I noticed that Acrobat will actually open during the print process and the user will have to close. There may be some way to automatically close Acrobat Reader at the end, but I don't know it. Rick Show quoteHide quote "Don" <D**@discussions.microsoft.com> wrote in message news:82DA1CF9-F20F-4416-8B14-01CC932646BF@microsoft.com... >I would like to print a report which was created in Adobe Acrobat with the > extention pdf. Is there an easy way to do this. > > I am new at this and would appreciate any code that can help. > > > -- > Don Mylrea
OO design and programming...
Upgrade Question Q: Regular Expressions? tell more about .net framework date time picker and validate event ( is this a bug ? ) Drag and drop multiple button controls..need help modifying code please??? Managing without .NET for runtime applications Adding buttons to form help Embedded Stored Procedure within App Looking For Training Recommendations |
|||||||||||||||||||||||