Email Submit as a MHT formt and not as a XML - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Email Submit as a MHT formt and not as a XML Email Submit as a MHT formt and not as a XML Last post 12-28-2007 10:58 AM by Greg Collins. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-28-2007 06:37 AM jtownson Joined on 08-23-2007 Posts 41 Email Submit as a MHT formt and not as a XML Reply Contact Hi All, Is the above possible? One of our dept's needs to reguarly email a supplier an MHT (export to web) file of a form. Is there a way of simplifying this? At the simpliest i wouldnt mind a button that does exactly what the export to web function from the file menu does as our users aren't technically minded. If anyone has any ideas or can point me in right direction where i can pick up some code from (C#) that would be great. Thanks 12-28-2007 10:58 AM In reply to Greg Collins Joined on 08-07-2006 Posts 2,126 Re: Email Submit as a MHT formt and not as a XML Mark as Not AnswerMark as Answer... Reply Contact Your form needs to be full trust to use that feature via code: thisXDocument.View.Export("C:\\MyView", "MHT"); Please Visit:BraintroveGreg's Paintings Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi All,
Is the above possible? One of our dept's needs to reguarly email a supplier an MHT (export to web) file of a form. Is there a way of simplifying this? At the simpliest i wouldnt mind a button that does exactly what the export to web function from the file menu does as our users aren't technically minded. If anyone has any ideas or can point me in right direction where i can pick up some code from (C#) that would be great.
Thanks
Your form needs to be full trust to use that feature via code:
thisXDocument.View.Export("C:\\MyView", "MHT");