Using Crystal report--Report Document in VB

Hi all,
I am developing reports using Vb.net with crystal report,i came across the scenario where in i have to use the same method which i have developed in vb.net and am assining the Values as follows

Dim objdoc as new reportdocument

method1.LoginName = LabShared.GetLoginName

method1.ApplicationName = LabShared.GetApplicationCode

method1.ReportSource = objdoc

method1.ReportFileName = "test1.rpt"

The above code works fine in vb.net while calling the code in vb it gives error since am not able to use the report document in vb,is there any chances of calling that method,
Thanks in advance
Jayakumar

[678 byte] By [EJK] at [2008-2-10]
# 1
Hello Jayakumar,

Visual Basic 6.0 and earlier do not support .NET tools like our Crystal Reports .NET engine.

You will need to use one of the COM based solutions like the Report Designer Component (RDC) or the OCX.

Here is a link to the COM/ASP section of our DevZone:

http://www.businessobjects.com/products/dev_zone/comasp/default.asp?ref=devzone_main

Keith - Business Objects

KeithThomson at 2007-9-8 > top of Msdn Tech,Visual Studio,Crystal Reports for Visual Studio...

Visual Studio

Site Classified