CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Crash while writing data to MS word in C#

    Hi,

    I have an standlone C# application where I am writing some data on to word document ( using COM concept ) to get APIs for writing and handling MS word application and document.

    Can I know some sample example to write data properly because with what I am writing it is crashing after some time ( 5-10 mins) saying " Writing format is too complex , try to save your data... "

    so I want an opitimize way to write data to the ms word document in C#, can some one help me.

    Also we dont have MSDN help for these APIs'' we have to use the intellisense listing in the .net studio and use it by trial and error..

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Crash while writing data to MS word in C#

    Ever try to SEARCH for something instead of saying it DOESN'T WORK?

    http://support.microsoft.com/kb/316384
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    May 2009
    Location
    Bengaluru, India
    Posts
    460

    Re: Crash while writing data to MS word in C#

    thanks .. i thought of asking in codeguru forum is also part of searching

  4. #4
    Join Date
    Oct 2005
    Location
    Seattle, WA U.S.A.
    Posts
    353

    Re: Crash while writing data to MS word in C#

    d ....

    nice, VERY nice. While I may not have a need for writing to Word at the moment, knowing HOW to interface with other apps on a scale of this magnitude is definitely worth knowing. Presumably this is true of other MS apps as well ... for instance, Excel.

    I've filed this away in my reference index. Thanks.

    vcdebugger: thanks for raising the issue. I learned something very worthwhile.

    bill

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