Oct16

Blog Moved to http://medhatelmasry.blogspot.com/

Categories:
On Sunday September 20, 2009 I moved all my blog postings from this SharePoint 2007 server to blogger.com. The new URL is http://medhatelmasry.blogspot.com/. I have nothing against SharePoint 2007 as it served me quite well. I decided to move my b...
 
Jul22

How do I disable User Account Control (UAC) in Windows Server 2008?

Categories: Windows
Control Panel => User Accounts   Click "Turn User Account Control on or off"   Uncheck "Use User Account Control (UAC) to help protect your computer"   Click on "OK" button...
 
Jun24

How to unsubscribe (or remove) yourself from a SharePoint 2007 alert?

Categories: SharePoint 2007
In SharePoint one can subscribe to any document libraray or list to be sent alerts when changes occur such us additions, deletions, and updates. This is done by choosing "Actions" => "Alert Me".   If one wishes not to recei...
 
May13

Presentation to VanSPUG on Enhancing SharePoint with Silverlight 2.0

Categories: Speaking engagements
VanSPUG (Vancouver SharePoint User Group) is less than one year old. I can proudly say that I was a catalyst in the establishment of this young user group when I helped Peter McFarlane organize the launch event on September 17, 2008 at my BCIT w...
 
Mar6

Enabling Entity Framework (ADO.NET Entity Data Model) in a SharePoint 2007 web.config file

Categories: SharePoint 2007
The Entity Framework is considered to be the modern day successor to "LINQ to SQL". If you wish to use this technology in a SharePoint 2007 web part you will need to tweak your web.config file to accomodate the new assemblies that are as...
 
Mar3

How can you get the thumbnail for an image in your SharePoint picture library?

Categories: SharePoint 2007
This is much easier than I had imagined. At first I thought I need to do some programming with the SharePoint Object Model APIs. It turned out to be nothing of the sort.   Let us assume that you have a photograph located in your picture library ...
 
Feb18

How to use JavaScript to close an IE7 browser window without seeing the confirmation dialog?

Categories: ASP.NET 2.0
<a href="javascript: window.open('','_parent','');window.close();">Close this window!</a><br />...
 
Dec4

What is a quick way to get a .NET assembly's PublicKeyToken?

Categories: Windows
The quick and dirty way is to go into the .NET command prompt and type the following:   sn -T MyDotNetAssembly.dll   The above utilizes the strong name utility that comes with the .NET Framework....
 
Nov26

Getting around SharePoint 2007 not allowing database Integrated Security

Categories: SharePoint 2007
The problem is becuase of a line in web.config in WSS root folder which is:   <tagMapping> <add tagType="System.Web.UI.WebControls.SqlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" ...
 
Nov26

Enabling security trimming using role attribute in web.sitemap

Categories: SharePoint 2007
I have figured out how to trim the menu items on the web page.I need to add the following element to the web.config file <siteMap defaultProvider="XmlSiteMapProvider" enabled="true"> <providers> <add name=&quo...
 
 Next >>