Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET » InfoPath   (RSS)

Random musings and an Infopath tip

Random musings... I have had too much sugar today and too little sleep last night, so my brain is a little fried. Consider yourself warned :) My current gig is for a hospital. Every evening when I leave the parking lot, the automated toll machine remarks
Posted by Addys | 1 Comments
Filed under: , ,

Infopath forms and the XmlNamespaceManager

One common task when programmatically manipulating an InfoPath form is setting up the namespace manager. The following code will fail: MyInfopathDOM.SelectSingleNode("//my:name"); because of the unrecognized "my" prefix. But create a namespacemanager
Posted by Addys | 1 Comments
Filed under: ,

Programmatically caching Infopath templates using Application.CacheSolution

Infopath has a simple and elegent system for caching form templates - when you open a form with an unknown template, it extracts the template version and location information from an XML processing instruction (PI) in the form, and then loads the template
Posted by Addys | 1 Comments
Filed under: ,

XmlDocument.CreateProcessingInstruction goes better with XmlDocument.InsertBefore

Note to self: Next time you need to add a Processing Instruction (PI) to an XmlDocument, ignore the MSDN documentation sample which uses XmlDocument.AppendChild . That sample isn't exactly incorrect, however it does result in the PI being appended to
Posted by Addys | 1 Comments
Filed under: ,
 
Page view tracker