Tuesday, March 30, 2010

How to display the Form version on the InfoPath 2007 Form

Just insert an Expression Box control into the Infopath Form using the following XPath expression:

substring-before( substring-after( /processing-instruction()[local-name(.) = "mso-infoPathSolution"], 'solutionVersion="'), '"')

Source: http://www.nivot.org/2008/09/30/WhyVSTO30VisualStudio2008SharePointWindowsWorkflowAndInfoPathMightGiveYouAHernia.aspx

Tuesday, March 9, 2010

File recovery on Windows 7

This morning, I accidently deleted a complete folder on my Windows 7 machine. I automaticly use SHIFT-Delete, so I could not Restore the folder and documents from the Recycle-Bin :(

Looking for tools I discovered the Recuva tool from PiriForm. I downloaded the Portable version, so without installer. Extracted the zip on another drive and selected my drive where the folder was accidently deleted.

Recuva

Thanx to the Recuva tool, I now have all my documents back ! It just worked..

:)