Converting to MHT - InfoPath Dev
in

InfoPath Dev

Converting to MHT

Last post 02-03-2010 07:30 AM by lokans. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-03-2010 07:30 AM

    • lokans
    • Not Ranked
    • Joined on 01-26-2010
    • Posts 6

    Converting to MHT

    Hi!

     

    I need to develop the following application:

    Obtain all the items on a list on Sharepoint (Ready and working)    * The items are XML (Infopath filled xsn files)
    Take one file, and read the XML to get some info (Ready and working)
    Take this XML and Export it to MHT (Here's my problem...)

     Well.. i want to "open" and XML (i have the XSL too to open it) and export it to MHT

    All the code must be C# and outside of "Infopath", its an Console Application... i already tested with the Interop options but dosn't work for another reasons... so... i have the XSL, but is the one from i get from Infopath, i tried using the ObjectModel of Microsoft.Office.Infopath; but no clue about that..

    It's possible something like this...
    InfopathFile info = new InfopathFile( < the xls >, <the xml>)
    and then... info.ExportToMht();

     

    Any idea?

    Greetings.

     

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.