We’ve created a Visual Basic .Net sample for WPD and posted it to CodePlex: Microsoft’s open source project-hosting web site. Take a look at http://www.codeplex.com/wpdtempsensor
In addition to the Visual Basic project and source files, we’ve posted a document that describes the sample. This document also describes how you can address and resolve the COM Interop issues associated with .Net and WPD.
This posting is provided “AS IS” with no warranties, and confers no rights.