Monthly Archives: December 2011

Performing a SharePoint Search from Code

Ensure the following two namespaces are included: You may need to add these via ‘Add Reference’ on the .NET tab. If you do not see Microsoft.Office.Server or Microsoft.Office.Server.Search, you can add these directly via browsing to the DLL’s that are … Continue reading

Posted in SharePoint | Leave a comment

WPF Loading an Image from a Resource File

To load an image dynamically from the resource file in a WPF project, use the following steps: Ensure the image is in the Resources file: Add an image object to your XAML code: Then in your C# code, dynamically set … Continue reading

Posted in Windows Apps | 1 Comment