How to print MS Access table from VB.NET application?

Posted on 2004-12-01
Last Modified: 2010-05-18
My VB.NET application received data from MS Access database, and I need to add a button on the main form "Print all products" that is sending to print all "Products" table from the database...
How can I do it?

Thank you.
Question by:dba_netanya
    LVL 18

    Expert Comment

    Hi dba_netanya,
    SO may ways to do it
    1. write all of them in a Tab separated text file and send it to print using VB.NET using Process
    something liek
            Dim pr As Process = New Process
            pr.StartInfo.FileName = ffile
            pr.StartInfo.Verb = "Print"

    LVL 18

    Expert Comment

    2. You may also use crstal report and add data in it the way you want and then you can print it

    LVL 18

    Accepted Solution

    If everything is in Datagrid. See this artcile for printing it

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now