Skip to Content
author's profile photo Former Member
Former Member

cr 8.5 rdc

I am using Crystal Report 8.5 rdc with c++ 6.0. I can't export to word and xml format.

Error:-- for word (Invalid Directory)

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2009 at 12:48 PM

    I resolve the word export.

    but cant export to xml.

    CFileDialog dlg(FALSE,"xml",cstr,OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,"XML Files (.xml)|.xml||");

    dlg.m_ofn.lpstrTitle ="Export to";

    if (dlg.DoModal ()!=IDCANCEL){

    cstr=dlg.GetPathName ();

    }

    else{

    return;

    }

    bstr=(LPCTSTR)cstr;

    pOpt->DiskFileName =bstr;

    pOpt->DestinationType =crEDTDiskFile; //Export to a file

    pOpt->FormatType =crEFTXML;

    vt.vt=VT_BOOL;

    vt.boolVal =false; //FALSE: Not to prompt user

    pRpt->Export (vt);

    OS: xp-sp2

    DLL:- u2fxml 8.5.0.44

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 24, 2009 at 02:20 PM

    Moved to Legacy Forum.

    Can you paste in your code you are using?

    If you hard code the folder you are exporting to does that work? Is it a local folder or shared folder?

    Any patches installed and what OS are you using?

    Thank you

    Don

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2009 at 12:50 PM

    Local folder ... No patches..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.