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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Directory error when exporting

Status
Not open for further replies.

Joeyshin

Programmer
Mar 21, 2002
3
US
Hi,

I'm using CR8 and VB6, trying to export a report using
Report.Export True

I selected Excel7.0 format and filename "test.xls" at runtime system dialogs. After that, I got an "invalid directory" error and the code above was highlighted. Am I missing something here?

I found a previous post noting that "date/time" format filename could get this error message. But "test.xls" really sounds like an innocent filename?

Thanks,

Joe
 
In case this helps,

the Export button on the ReportView control dose not export my report either, nomatter which exporting format. It basically asked me export format, filename, etc. Then passed without showing progress bar. A blank (empty) file with selected name was created on my disk.

Please suggest if there is something I missed. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top