Solved

printing crystal report from vb

Posted on 2003-10-31
6
219 Views
Last Modified: 2010-05-03
How to print a crystal report directly to a printer from vb without viewing the report? I did that crviewer.printreport , the report has to be printed directly, but nothing is happening,
with crviewer.viewreport , crystal report is coming and from there i can take a print also, but i am not getting a print with .printreport
waiting for reply,
thanks in advance
kishore
0
Comment
Question by:kbokku
  • 2
6 Comments
 

Accepted Solution

by:
nirmal_4194 earned 98 total points
ID: 9662444
add this code in your vb code, this will sure solve your problem.

.Destination = crptToPrinter
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 97 total points
ID: 9662825
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10170879
One or the other should have helped.

mlmcc
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 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

14 Experts available now in Live!

Get 1:1 Help Now