Monday, January 5, 2009

Installing the Adobe PDF Ifilter for MOSS 2007

  • Download the Adobe PDF IFilter 6.0 from here
  • Stop the IIS Admin service: Start > Run > Services.msc > Stop the IIS Admin Service
  • Run the Adobe PDF IFilter 6.0 Setup program (ifilter60.exe) to install the filter on the server.
  • Copy a GIF that you would like to use as an icon (16X16) in "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images".

    Edit the file C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\DOCICON.XML .

    Add an entry for the .pdf extension.

  • Perform an “iisreset” or recycle the SharePoint Application Pools.

    Add the .pdf file type to the index list:

    a) Go to Central Administration, then to the Shared Services Administration Web of the current SSP, go to Search Settings and next to File Type.

    b) Add the new file type “pdf”.


    Perform a Full Update on the Search content indexes.

Thursday, December 4, 2008

.NET 2005 : Procedure to convert a .cs file to .dll file using csc compiler












1. Open the visual studio 2005 command prompt

2. Type the following command : csc /target:library /out:"<
path>.dll" "<filepath>.cs"

e.g., csc /target:library /out:"D:custom.dll" "D:custom.cs"


Monday, December 1, 2008

ASP.NET: Hide OPEN button in OPEN,SAVE,CANCEL dialog box

To Hide the OPEN button in the OPEN / SAVE / CANCEL Dialog box

We've to add the following tag in the HEAD tag of the ASP.NET html code:

meta name="DownloadOptions" content="noopen"

In the same way if you want to hide the SAVE button add the following tag:

meta name="DownloadOptions" content="nosave"