Error in file load

Posted by: zequion on 2 November 2021, 11:07 pm EST

    • Post Options:
    • Link

    Posted 2 November 2021, 11:07 pm 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.


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

                            foreach (dynamic MyParagraph in doc.Body.Paragraphs)
                                string Texto_Parrafo = MyParagraph.Text;
  • Posted 7 November 2021, 9:30 pm EST


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

    Please continue the thread there only to avoid confusion.


    Prabhat Sharma.

Need extra support?

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

Learn More

Forum Channels