<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint @ Big Scholar &#187; C#</title>
	<atom:link href="http://www.bigscholar.com/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bigscholar.com</link>
	<description>Developing, Configuring and Designing in SharePoint</description>
	<lastBuildDate>Thu, 05 Jan 2012 23:19:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Check if user is in a SharePoint or AD group</title>
		<link>http://www.bigscholar.com/2012/01/06/check-if-user-is-in-a-sharepoint-or-ad-group/</link>
		<comments>http://www.bigscholar.com/2012/01/06/check-if-user-is-in-a-sharepoint-or-ad-group/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 23:19:45 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=221</guid>
		<description><![CDATA[To check if a user is in a SharePoint Group (which also checks if the user is in an AD Group within that SharePoint group), use the following code:  using System.DirectoryServices.AccountManagement;         public bool IsUserInSharePointGroup(string webUrl, string groupName, string username)         {             bool userIsInGroup = false;             SPSecurity.RunWithElevatedPrivileges(delegate             {                 try                 { [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2012/01/06/check-if-user-is-in-a-sharepoint-or-ad-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extracting attachments from SP List (Discussion Board)</title>
		<link>http://www.bigscholar.com/2011/12/08/extracting-attachments-from-sp-list-discussion-board/</link>
		<comments>http://www.bigscholar.com/2011/12/08/extracting-attachments-from-sp-list-discussion-board/#comments</comments>
		<pubDate>Thu, 08 Dec 2011 00:07:31 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint Discussion Board]]></category>
		<category><![CDATA[SharePoint Lists]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=217</guid>
		<description><![CDATA[There is a slight difference to looping through discussion board items as compared to standard list items. The main difference is having to use SPList.Folders and not SPList.Items As a result of that, extracting any attachments to the SPList.Folders is not very obvious. I had been trying to get the attachment as an SPFile object [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2011/12/08/extracting-attachments-from-sp-list-discussion-board/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting process priority</title>
		<link>http://www.bigscholar.com/2011/08/31/setting-process-priority/</link>
		<comments>http://www.bigscholar.com/2011/08/31/setting-process-priority/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 03:12:42 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Office SharePoint Server]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=209</guid>
		<description><![CDATA[If you are developing something that requires use of 3rd party programs, it usually is a good idea to change the priority of the process to something below normal otherwise it may take up all server resources which could result in performance issues to other users. The process priority can only be set through System.Diagnostics.Process: [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2011/08/31/setting-process-priority/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing InfoPath 2010 xml with C#</title>
		<link>http://www.bigscholar.com/2011/07/28/editing-infopath-2010-xml-with-c/</link>
		<comments>http://www.bigscholar.com/2011/07/28/editing-infopath-2010-xml-with-c/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 02:40:18 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[InfoPath 2010]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=204</guid>
		<description><![CDATA[Here's a code snippet to edit nodes in an existing InfoPath 2010 Xml document from a selected Form Library in SharePoint 2010:  SPWeb mySite = SPContext.Current.Web;  SPList oList = mySite.Lists["FormLibraryName"];  SPQuery oQuery = new SPQuery();  oQuery.Query = "&#60;Where&#62;&#60;Eq&#62;&#60;FieldRef Name='FileLeafRef'/&#62;&#60;Value Type='Text'&#62;TargetFile.xml&#60;/Value&#62;&#60;/Eq&#62;&#60;/Where&#62;";  SPListItemCollection listItems = oList.GetItems(oQuery);  if (listItems.Count &#62; 0)  {   SPListItem item = listItems[0];   MemoryStream oMemoryStream [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2011/07/28/editing-infopath-2010-xml-with-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More notes on 404 error page for .exe files</title>
		<link>http://www.bigscholar.com/2011/04/12/more-notes-on-404-error-page-for-exe-files/</link>
		<comments>http://www.bigscholar.com/2011/04/12/more-notes-on-404-error-page-for-exe-files/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 06:51:05 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Executables]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint Lists]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=191</guid>
		<description><![CDATA[It has been brought to my attention that my previous post to modify IIS to enable users to click on .exe files and download them is flawed as it will disable quite a bit of other functionality in SharePoint. One big one is the inability to use SharePoint designer to navigate to subsites. Big problem [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2011/04/12/more-notes-on-404-error-page-for-exe-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Word 2010 Retrieve and Set Properties</title>
		<link>http://www.bigscholar.com/2011/02/17/word-2010-retrieve-and-set-properties/</link>
		<comments>http://www.bigscholar.com/2011/02/17/word-2010-retrieve-and-set-properties/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 05:55:25 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[VSTO]]></category>
		<category><![CDATA[Microsoft SharePoint Client]]></category>
		<category><![CDATA[Visual Studio Tools for Office]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=177</guid>
		<description><![CDATA[There are 3 types of properties for Word Documents... that's right, 3. Not 2. Initially I thought there are the Built in properties and the custom properties. But then, there are also content type properties. I'm not sure how to explain this, but I'll do my best. Content Type properties are set in SharePoint. A [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2011/02/17/word-2010-retrieve-and-set-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Code for Client Side Applications</title>
		<link>http://www.bigscholar.com/2011/02/17/sharepoint-code-for-client-side-applications/</link>
		<comments>http://www.bigscholar.com/2011/02/17/sharepoint-code-for-client-side-applications/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 05:34:01 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Microsoft SharePoint Client]]></category>
		<category><![CDATA[Visual Studio Tools for Office]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=175</guid>
		<description><![CDATA[Usually most of my code is run on the server, meaning that the DLLs sit on the server. This means that I can use the Microsoft.SharePoint DLL to query SP lists, SP document libraries, and so on. My last project required me to code a Word Add-in. This is a client side application that required [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2011/02/17/sharepoint-code-for-client-side-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 developed Custom Outlook Add-in not being called</title>
		<link>http://www.bigscholar.com/2009/12/11/visual-studio-2008-developed-custom-outlook-add-in-not-being-called/</link>
		<comments>http://www.bigscholar.com/2009/12/11/visual-studio-2008-developed-custom-outlook-add-in-not-being-called/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 01:44:57 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Microsoft Outlook]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=148</guid>
		<description><![CDATA[I found that when I created a custom outlook add-in to run on the Send event, that it doesn't run when I deploy it on another machine (works fine on my own). After much research, I found that a requirement on the other machine is not included in the deployment files. We needed Extensibility.dll to [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/12/11/visual-studio-2008-developed-custom-outlook-add-in-not-being-called/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a custom add-in for Microsoft Oulook 2003 on Send event (or start or &#8230;)</title>
		<link>http://www.bigscholar.com/2009/12/11/creating-a-custom-add-in-for-microsoft-oulook-2003-on-send-event-or-start-or/</link>
		<comments>http://www.bigscholar.com/2009/12/11/creating-a-custom-add-in-for-microsoft-oulook-2003-on-send-event-or-start-or/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 01:32:10 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Microsoft Outlook]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=145</guid>
		<description><![CDATA[In Visual Studio, create a new Project &#62; Other Project Types &#62; Extensibility &#62; Shared Add-in and select the application or applications you are writing the add-in for. In my case, the add in is written for Outlook, so I unchecked everything and selected Outlook only. Hit next, give it a name and description. Then [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/12/11/creating-a-custom-add-in-for-microsoft-oulook-2003-on-send-event-or-start-or/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Uploading a file into a SharePoint document library with C# code</title>
		<link>http://www.bigscholar.com/2009/09/17/uploading-a-file-into-a-sharepoint-document-library-with-c-code/</link>
		<comments>http://www.bigscholar.com/2009/09/17/uploading-a-file-into-a-sharepoint-document-library-with-c-code/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 01:31:18 +0000</pubDate>
		<dc:creator>Wei</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[File Manipulation]]></category>
		<category><![CDATA[SharePoint Document Library]]></category>

		<guid isPermaLink="false">http://www.bigscholar.com/?p=138</guid>
		<description><![CDATA[Here's a small snippet of code to upload a file from the filesystem into a SharePoint document library:     Stream fStream = File.OpenRead("C:\\Temp\\Filename.pdf");     byte[] contents = new byte[fStream.Length];     fStream.Read(contents, 0, (int)fStream.Length);     fStream.Close();     SPList list = web.Lists[DocumentLibraryListName];     Hashtable properties = new Hashtable();     properties.Add("Title", "This is the title");     properties.Add("Other_x0020_Properties", "Some [...]]]></description>
		<wfw:commentRss>http://www.bigscholar.com/2009/09/17/uploading-a-file-into-a-sharepoint-document-library-with-c-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

