Solved

printing crystal report from vb

Posted on 2003-10-31
6
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SLMGR Switches Are Not Working On KMS Host 3 146
MsgBox 4 71
vbModal 12 66
MS Access 03, TransferText, decimal places 8 86
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 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