Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

printing crystal report from vb

Posted on 2003-10-31
6
Medium Priority
?
230 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 392 total points
ID: 9662444
add this code in your vb code, this will sure solve your problem.

.Destination = crptToPrinter
0
 
LVL 101

Assisted Solution

by:mlmcc
mlmcc earned 388 total points
ID: 9662825
0
 
LVL 101

Expert Comment

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

mlmcc
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

609 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