Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

-2147206462, Dos error

Status
Not open for further replies.

woliveri

Programmer
Jun 6, 2002
15
US
Hello all,
I'm having a problem with Crystal Reports OpenReport() method of the CRAXDRT.Application object in VB6.

Problem line of code is here:

Set Report = CrxApp.OpenReport(sReportPath)

If I step through the code line by line
it works fine but when I just run it it doesn't work.
The error I captured is:

-2147206462, Dos error.

I have added DoEvents twice after the line of code in
question but this does not help.

Does anyone have any ideas or suggestions on this problem?


TIA,
 
I think that's an error generated by the OS rather than Crystal.
2147206461 is file not found, not sure what 2147206462 is. Could it be the file cannot be opened for some reason?
Is there any other code regarding CRAXDRT other than initialising Report and CrxApp? Andrew Baines
Chase International
 
Was this issue ever resolved? If so, I'd love to hear how.

Thanks,

Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top