Printing single database entry in VB.net

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

    Printing single database entry in VB.net

    I need help figuring out how to print a single entry from a database
    using vb.net. I have written a program that will allow the user to
    view/edit/add a recipe to an Access 2000 database. My problem is that once
    the user gets the recipe they want on the screen, how can I put a "Print"
    button on the screen to enable them to print that single recipe? Right now,
    my head is spinning. I've been reading about API's and Crystal Reports, but
    I can't figure out how to get the data from the screen to the report and
    then the report to the printer.
    I am very new to VB.net (started yesterday afternoon). I'm hoping
    someone here can help me out with an example or point me in the right
    direction.

    Thanks,
    Charlie


  • Hal Rosser

    #2
    Re: Printing single database entry in VB.net

    if everything is on the form and visible - printForm
    if not - use the Printer.print(" stuffToPrint")

    "Charlie" <noem@il.please > wrote in message
    news:fQtRc.3187 7$cv5.30726@lak eread07...[color=blue]
    > I need help figuring out how to print a single entry from a database
    > using vb.net. I have written a program that will allow the user to
    > view/edit/add a recipe to an Access 2000 database. My problem is that once
    > the user gets the recipe they want on the screen, how can I put a "Print"
    > button on the screen to enable them to print that single recipe? Right[/color]
    now,[color=blue]
    > my head is spinning. I've been reading about API's and Crystal Reports,[/color]
    but[color=blue]
    > I can't figure out how to get the data from the screen to the report and
    > then the report to the printer.
    > I am very new to VB.net (started yesterday afternoon). I'm hoping
    > someone here can help me out with an example or point me in the right
    > direction.
    >
    > Thanks,
    > Charlie
    >
    >[/color]


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004


    Comment

    • Rick Rothstein

      #3
      Re: Printing single database entry in VB.net

      Almost everybody in this newsgroup is using VB6 or lower. While you may
      get a stray answer to VB.NET questions here, you should ask them in
      newsgroups devoted exclusively to .NET programming. Look for newsgroups
      with either the word "dotnet" or "vsnet" in their name.

      For the microsoft news server, try these newsgroups...

      microsoft.publi c.dotnet.genera l
      microsoft.publi c.dotnet.langua ges.vb
      microsoft.publi c.vsnet.general

      There are some others, but these should get you started.

      Rick - MVP



      "Charlie" <noem@il.please > wrote in message
      news:fQtRc.3187 7$cv5.30726@lak eread07...[color=blue]
      > I need help figuring out how to print a single entry from a[/color]
      database[color=blue]
      > using vb.net. I have written a program that will allow the user to
      > view/edit/add a recipe to an Access 2000 database. My problem is that[/color]
      once[color=blue]
      > the user gets the recipe they want on the screen, how can I put a[/color]
      "Print"[color=blue]
      > button on the screen to enable them to print that single recipe? Right[/color]
      now,[color=blue]
      > my head is spinning. I've been reading about API's and Crystal[/color]
      Reports, but[color=blue]
      > I can't figure out how to get the data from the screen to the report[/color]
      and[color=blue]
      > then the report to the printer.
      > I am very new to VB.net (started yesterday afternoon). I'm hoping
      > someone here can help me out with an example or point me in the right
      > direction.
      >
      > Thanks,
      > Charlie
      >
      >[/color]

      Comment

      Working...