Am I missing something or does it seems like InfoPath 'favors' the dark
world of VBScipts, JScript, and COM? Most of the code samples, blog
discussions and group comments focus on solutions to involve scripts. I
am unable to find 'solid' information and code sample using managed
code (C# or VB.NET) to do something things like:
1. Figuring out the xml file name that is currently open.
2. Saving or deleting the xml to a SharePoint library.
3. Pretty much anything that is required to support a workflow.
Any help would be appreciated.
Thanks
Greg Collins [InfoPath MVP] - 31 May 2006 20:12 GMT
1. thisXDocument.URI gives you the name of the XML file currently open.
2. Take a look on http://www.InfoPathDev.com for information about saving to / deleting from SharePoint in code.
3. Workflow must be done manually. There is support for BizTalk, but its not a simple process.
InfoPath 2007 will use standard .NET XML coding.

Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPath Dev ( http://www.InfoPathDev.com )