How to print a document in vb.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MariaPerez

    #1

    How to print a document in vb.net

    I m trying to use the printer.print command in my application, but it
    doesn 't work
    It seems to be that my application not recognize de printer object.

    I don t know what i doing wrong, in most forums says it easy, y follow
    the steps but it is the same.

    Thanks for your help

  • Herfried K. Wagner [MVP]

    #2
    Re: How to print a document in vb.net

    "MariaPerez " <mteperez@hotma il.comschrieb:
    >I m trying to use the printer.print command in my application, but it
    doesn 't work
    It seems to be that my application not recognize de printer object.
    >
    I don t know what i doing wrong, in most forums says it easy, y follow
    the steps but it is the same.
    The 'Printer' object is supported by VB6, but not by VB.NET (VB 2005). You
    may want to use the 'PrintDocument' class instead.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    Working...