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

    Object Serialization

    How can i serialize an Excel charting Object to XML using
    XmlSerializer IN .Net?

    I tried serializing it ..but comes with an error "Cannot Serialize Interface
    Excel.chart"

    Let me know how we can do this

  2. #2
    Join Date
    Sep 1999
    Location
    Madurai , TamilNadu , INDIA
    Posts
    1,024

    Re: Object Serialization

    Not sure whether you can serialize out of proc. COM object using .NET serializer.

    Latest versions of Excel let you save the file in xml format (called SpreadsheetML). Not sure whether it is started with '97 or 2000 version. See whether it helps. Use Excel's built-in macro recorder to get the code to save the sheet/workbook in xml format.

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