Go Back   Forum Care Forums > Development Reference Area > Visual Basic

Reply
 
LinkBack Thread Tools Display Modes
Printing single database entry in VB.net
Old
  (#1)
Charlie
Guest
 
Posts: n/a
Default Printing single database entry in VB.net - 06-04-2007, 09:44 AM

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


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Printing single database entry in VB.net
Old
  (#2)
Hal Rosser
Guest
 
Posts: n/a
Default Re: Printing single database entry in VB.net - 06-04-2007, 09:44 AM

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

"Charlie" <EMAIL REMOVED> wrote in message
news:fQtRc.31877$cv5.30726@lakeread07...
> 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
>
>



---
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


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Printing single database entry in VB.net
Old
  (#3)
Rick Rothstein
Guest
 
Posts: n/a
Default Re: Printing single database entry in VB.net - 06-04-2007, 09:44 AM

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.public.dotnet.general
microsoft.public.dotnet.languages.vb
microsoft.public.vsnet.general

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

Rick - MVP



"Charlie" <EMAIL REMOVED> wrote in message
news:fQtRc.31877$cv5.30726@lakeread07...
> 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
>
>


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top