Error in file load

Posted by: zequion on 3 November 2021, 8:07 am EST

    • Post Options:
    • Link

    Posted 3 November 2021, 8:07 am EST

    I want to read the paragraphs of a word file and when I open the file I get the error shown. I have tried with 2 files and it always does.

    GrapeCity.Documents.Word.GcWordDocument doc = new

    // ERROR. (-2146233088) Default table style cannot be changed.

    GrapeCity.Documents.Word.GcWordDocument();

    doc.Load(“F:\Temp1\BOE - Codigo de Derecho Agrario (new).docx”);

                            foreach (dynamic MyParagraph in doc.Body.Paragraphs)
                            {
                                string Texto_Parrafo = MyParagraph.Text;
                            }
    
  • Posted 8 November 2021, 6:30 am EST

    Hello,

    This case has been replied to your support ticket CAS-26469-C7B6Q8.

    Please continue the thread there only to avoid confusion.

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels