Wrox Programmer Forums
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 18th, 2003, 09:25 AM
Registered User
Join Date: Sep 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB and Crystal Reports

Hi all,
     I am very new to crystal reports. I have a sample report customer.rpt which was developed in crystal reports. This reports uses Access database. Now I have developed a VB GUI where in when i click the button Customer reports , it should show me the contents of the customer.rpt. So I heard the RDC will help to do this. But i am stuck while using the below code.

Dim CrxApp As New CRAXDRT.Application
Dim CrxRpt1 As CRAXDRT.Report
Set CrxRpt1 = CrxApp.OpenReport("C:\customer.rpt")
CRViewer1.ReportSource = CrxRpt1
I have added the CRViewer control to my screen

But cannot see any output nor any error.

Any help in this regard ASAP is greatly appreciated

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports 11 from VB to VB.net koushik_b2002 Crystal Reports 2 June 1st, 2008 01:58 AM
Crystal reports and VB.NET minnug Crystal Reports 0 May 20th, 2007 10:09 PM
vb crystal reports please help! [email protected] Forum and Wrox.com Feedback 0 August 31st, 2005 06:54 AM
VB Connection with Crystal Reports Milan VB Components 0 September 17th, 2004 01:28 PM
vb 6 and crystal reports problem thefletch80 Pro VB Databases 1 January 15th, 2004 05:42 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.