Solved

Print invoice from vb6 with crystal report 8.5

Posted on 2009-05-10
2
768 Views
Last Modified: 2012-05-06
Dear Experts,
I developed an application with vb6 and right now, im using crystal report 8.5 for all the reporting needs and even creating invoices. However, my client wants the application to print invoices without first going into the crystal report screen. Coz rite now, whenever i call print invoice, my app will take the client to the crystal report screen and then he can print the invoice from there. Is there a way to print without first showing the report? Thanks in advance for the advice experts...
0
Comment
Question by:Slythie
2 Comments
 
LVL 46

Assisted Solution

by:tbsgadi
tbsgadi earned 50 total points
ID: 24347341
Have a look at the following:

http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_20103667.html

Look at the part that shows without viewer

Good Luck!

Gary
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 75 total points
ID: 24348437
Here is another way

Option Explicit
Private crApp As CRAXDRT.Application
Private crRpt As CRAXDRT.Report

'
'   Open report
'
    Set crApp = New CRAXDRT.Application

    Set crRpt = crApp.OpenReport(txtReportName, 1)
          crRpt.DisplayProgressDialog = False
          crRpt.PrintOut False

mlmcc
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

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

11 Experts available now in Live!

Get 1:1 Help Now