CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2003
    Posts
    3

    Question Exporting a report

    Hi, this is the problem. I have built an application in VB6 with crystal report 8.0. the report works fine, but when trying to export it (.xls, .doc, and others..), it does nothing. Only i get is a file 0 bytes long.

  2. #2
    Join Date
    May 2002
    Location
    Montreal
    Posts
    450
    Are you exporting from the report itself?
    If so, you are probably missing the required Crystal Reports dll files.

    These are located in the 'crystal' folder under WINNT. They start with u2....dll (u2fxls.dll, u2wordw.dll, etc)

    You have to distribute them with your app in order for the report to find and use them.

    Cheers,
    Laurent

  3. #3
    Join Date
    Feb 2003
    Posts
    3
    Yeah, i got those files in the directory you say. But even in my machine (developer station) in which i have installed crystal reports 8, visual studio 6 and office xp, i cant manage to export it through my app in VB. However i can using directly Crystal Rep.

  4. #4
    Join Date
    May 2002
    Location
    Montreal
    Posts
    450
    Sorry, I am not sure how to export directly from an application. We just export to another format when the report is on the screen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured