i am newer in visual basic 6 face some problem in crystal reporting.
set oapp = new craxddrt.application
set oreport = oapp.openreport(app.path & "c"\abc\report.rpt",1)
oreport .databse.setdatasource rs,3,1
crviewer1.reportsource = oreport
crview1.viewreport
run time error appear '-2147206460(80043ac4) invalid directory
but directory & file available in path what can i do..

Hi

Your openreport line looks invalid. If your reports are located in a folder called "\abc\" that is in the same location as your application then you should be using something like:

app.path & "\abc\report.rpt"

HTH

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.