Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Manoj_Leo

@Manoj_Leo
About
Posts
8
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Empty SharePoint Recycle bin using vbscript/javascript/vba
    M Manoj_Leo

    in Sharepoint 2010 its possible by using CilentContext but i dont think it is possible in 2007 version ....

    SharePoint csharp javascript sharepoint tutorial

  • Change a webpart from another webpart
    M Manoj_Leo

    Checkout this http://msdn.microsoft.com/en-us/library/ms469765.aspx

    SharePoint question

  • Change a webpart from another webpart
    M Manoj_Leo

    Checkout this http://msdn.microsoft.com/en-us/library/ms469765.aspx[^]

    SharePoint question

  • how to restrict user to upload only .docx or doc files in document library
    M Manoj_Leo

    if you want to block .doc and .docx files for all the document libraries in sharepoitn site.. Go to central admin and add these two file extensions as blocked file type for your site collection... If you want to block .doc and .docx file only for one document library than write a custom event handler on itemAdding and check for the file extension if extension is .doc or .docx cancel teh event ............

    SharePoint sharepoint help tutorial

  • How to add images and refer to them from a web part in SharePoint 2007
    M Manoj_Leo

    Hi It depends on the which visual Studio you are using VS2010 provides this option for SP2007 also the only difference is .. in case of SP2007 it use to map "12" hive "images" folder and for SP2010 it use to Map "14" hive "images" folder. Cheers :)

    SharePoint sysadmin php css sharepoint com

  • How to add images and refer to them from a web part in SharePoint 2007
    M Manoj_Leo

    add a Image mapped folder in your VS solution. Add all you images there and deploy the solution ..follow the below mentioned article from MSDN http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/03/12/deploying-files-using-mapped-folders.aspx

    SharePoint sysadmin php css sharepoint com

  • Check who has taken the handle of the text file.
    M Manoj_Leo

    Hi Check this out it might help you..i hav'nt tried it but looks like this is what you are looking for.. fpound this solution while going thrw some blog :) posted by :-Gennady Zabrodsky It is very complex way to invoke Win32 from C#. You should use tool Handle.exe from http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx After that your C# code have to be the following: string fileName = @"c:\aaa.doc";//Path to locked file Process tool = new Process(); tool.StartInfo.FileName = "handle.exe"; tool.StartInfo.Arguments = fileName; tool.StartInfo.UseShellExecute = false; tool.StartInfo.RedirectStandardOutput = true; tool.Start(); tool.WaitForExit(); string outputTool = tool.StandardOutput.ReadToEnd(); string matchPattern = @"(?<=\s+pid:\s+)\b(\d+)\b(?=\s+)"; foreach(Match match in Regex.Matches(outputTool, matchPattern)) { Process.GetProcessById(int.Parse(match.Value)).Kill(); }

    C# question csharp

  • Masterpage changes
    M Manoj_Leo

    To remedy the problem, go to Site Actions > Site Settings > Modify All Site Settings > Master Page and Page Layouts. This takes you to the master page gallery. Now go to Settings > Document Library Settings > Permissions for this Document Library and give the user (or the group he belongs to) read permission.

    SharePoint sharepoint sysadmin help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups