Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,560 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,916 people online right now. Registration is fast and FREE... Join Now!




Error in working with Crystal Report10 and Vb6

 
Reply to this topicStart new topic

Error in working with Crystal Report10 and Vb6

alpavak
10 May, 2008 - 08:37 PM
Post #1

New D.I.C Head
*

Joined: 10 May, 2008
Posts: 0

Hi everybody ,
I have problem working with vb6 & Crystal Report10.
I am not able to call report properly from vb6.
I am using Mircrosoft Access 2003 as backend
I have used bellow code after adding the component : Crystal ActiveX Report Viewer Library 10.0
-----------

CODE

[Dim Appl As New CRAXDRT.Application
Dim Report As New CRAXDRT.Report
Set Report = Appl.OpenReport("d:\Report3.rpt")
CRViewer1.ReportSource = Report
CRViewer1.ViewReport]


I am getting below error
-2147206429 : Invalid TLV Record

** Edit ** code.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:34PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month