.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How do I open an application by clicking on a specific document from the list of documents on SP2010

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :SharePoint


I created my own file type. And I have an application to open this specific file (xml).  In SP2010 created a list of documents and have uploaded this file type on my list of specific documents and up to here everything is working fine. 

But when I click the file from the list of documents that he was open with my software or whether it is possible to synchronize with the file.
My application (WPF Application) is already prepared to receive through "CommandLineArgument" the name and location of the file. If I go to the folder where my file and make double click, my software starts and open the file.
How do I open t

View Complete Post

More Related Resource Links

Clicking on "Shared Documents" gives link to download instead of opening document library

Hi, I hope someone can help! All of a sudden (I don't know if someone has changed something!), whenever anone clicks on a link to open the "shared documents" document library in a specific site within our sharepoint site, instead of opening the document library, it instead gives a download dialog for a zip "AllItems.aspx" as a zip file. Anyone got any iteas what could have gone wrong and how to correct the issue?   Many thanks for any help!

Office 2007 Documents Open in Read-Only when Opening them from a WSS 2.0 Document Library

Hi, When any of our Windows 7 Pro computers that run Office 2007 Pro attempt to open a Word document that resides in a WSS 2.0 document library by using the drop down menu and selecting "Edit with MS Word", the documents open in read-only.  Our work-around is to save the document locally, modify it, and then save it back to the document library. We have some Windows XP and Vista systems that run Office 2007 and they are fine and can simply edit the document and save it.  We also have a handful of pc's that run Office 2003 and they are not having any issues either. Things I've tried: Office 2007 Repair - no luck Office Reinstall - no luck Some registry mod HKCU\Software\Microsoft\Office\12\Internet\OpenDocumentReadWrite=1 (noted on a MSKB article) - no luck and after re-reading the article it clearly states that this will not address content hosted on WSS or SPS sites Clearing IE temp files, resttting IE to defaults - no luck Once again, this only seems to happen to Win7Pro pc's that run Office 2007.  Honestly, I can't tell if IE8 has anything to do with this. Any thoughts or help would be extrememly appreciated. Thanks, Mike

Open Office Documents from Document Library without Password Prompt

We have a SharePoint site and Document library set up for anonymous access.   All non-Microsoft file types open correctly without a password.   When users click on Microsoft Office documents they are prompted for passwords.   Is there some way to configure the Office documents or Document Library so that users are not prompted for passwords when they open documents or is this a bug?

Using a List View web part to display documents from multiple document libraries from different site

Hi there, I am trying to have one web part display documents (or list items) from different document libraries (or different lists) from different site collections. I have achieved this under a single site collection using Data View Web Part (using SPD). I have also achieved displaying a single document library (or a list) from a different site collection by using List View Web Part. but I am not sure how to get my head around displaying documents or list items from different document libraries or lists across site collections. I have thought of using SPSiteDataQuery or ListViewByQuery, but they all seem to focus one site collection at a time. If any of you have done this before, please share your best practice on this one with me. Much appreciated. Clark

Is there a way to disable the Open in Windows Explorer option for a single document library (SP2010)

I am looking to disable the Open in Windows Explorer option for a single document library (SP2010). Can someone help me with this?

how to set the site to open Calender or a document list (the home page)WSS3.0

I believe there is a setting to make a list or calendar to open when go to a site home page, but I cannot find it now, and not though google either, please help.

Clicking Type Icon does not Open Document

  1. Create a document library
  2. Ensure the Type column is displayed in the view
  3. Add a document of a known file type (i.e. Word or InfoPath)
  4. Click on the Type icon for that document. All it does is highlight that row, check the box for that row (if shown), and change the ribbon perspective, but it does not open the document.

Anyone else experience something different, and does anyone know if this is a bug, if there's a fix, or a workaround?  I have submitted it as a bug on MS Connect.


SharePoint Architect || My Blog

Cannot open Word document from sharepoint Shared Documents folder


Hey Every body

I have a very strange problem. Our Company has a Microsoft Office Sharepoint Server 2007 solution running as our company Intranet solution. 

We have a solution where outside users, can gain access to a workspace site on Sharepoint where diffrent people can work together on projects that involves both out side users and internal staff. 
We have a folder called shares documents here we can upload documents that we want the other memebers off this workspace too see.
The problem is that internal staff can open up Word documents directly, but the external users are not able to open up directly these Word documents. Word just sayes that that is is unabel to open up the word document.
But when the users download the documents instead it works fine.

I have tries with both offcie 2003 and office 2007 and the problem is the same. But if i try to open up these documens via Open Office the problem due not exits, then is works fine. Why does Microsoft Word have these problems?

And is it just when the external users are opening up the documents directly from the sahred Documens folder that we have this problem.

The external users are connecting to our Citrix Netscaller security solution for authenticating purpoes first, after they have been validated through this solution, they ar

Content Query web part - how to open documents on first click instead of first opening the document


Hi all, Hopefully this is a easy settings change question, when I create a content query web part and have it look at documents in a document library (Either document library or document centre) when I click on the name of the document (link to doc) in the content query it opens up a page that list the document properties, I then have to click on the "Name" of the document link to open the document but when i close the document I end up at the library that the document is in and not on the page that I clicked on  the link in content query web part. So in some cases a user is on a site and clisks on a link(in a content query web part) that eventaully opens a document in the document centre and when they close the doucment there end up in the document centre.

Any ideas why this behaviour is suddendly happening, it didn't happen when I first added the content wuery web parts, thanks in advance.


list of documents to be displyed on Home page from document library(MOSS2007)



i have a task to complete where i wan to display pdf documents from documents library on Home page. and also want to show a MORE link on the bottom when user click on MORE button should display list of all the documents or will redirect to document library.  This is in MOSS 2007.




list max N documents since last R weeks with xyz labels from document library as links (using jquery


Sorry for the cryptic title, but i wonder how to create that.

I have a huge document library, people put a lot inside it.
Now some departments would like to show specific docs on their department webpage (the page is within this same site).

These docs might be reports, or other repeating documents i would like to filter them on their labels.
So for example to filter on the department label and so filter on sales
Their report is named like "results product xyz.doc"  >> so i like to filter also on "result product"
They create reports every 2 weeks, and i'd like to be able to show the last N reports based on their title that contains reports
Or since the last R weeks

I dont want people to enter or change criteria, nor do i want people to add documents here. (as in a document library).
Maybe the only option should be a link on the bottom to extend the range of time in the past or max documents

Just based on these filter create a link list to those documents (using their doc name) and showing their comment would be cool too.


Note that in above sales product etc is just an example, my site doesnt have sales actually.
But my question is about how to filter on such verbs, dates, and display a maximum numbers of items from a document library.

Getting list of users reporting from specific Manager from Active Directory


Dear All,

I am have requirement like displaying all the user information reporting to specific manager from Active Directory.

Please help me regarding this.



Microsoft Office Excel cannot open or save any more documents because there is not enough available


hi all,

     i am new to asp.net programming i am trying to create an ms excel file with charts drawn in it,

i wrote the complete code for it but the it is saying

Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. 

i have set the permissions to my complete disk space and all user accounts, and i tried with anti-virus disabling also it didnt work please try to help me out and my code is :

Imports System.Data.OleDb
Imports Microsoft.Office.Interop
Imports Microsoft.Office.Tools.Excel
Imports System

SharePoint and Open XML: Generating Documents from SharePoint Using Open XML Content Controls


This article describes how to generate documents that contain data stored in SharePoint lists. The example demonstrates how OpenXML content controls can be defined to capture list data in a Word document and how LINQ to XML can be used to query the lists. The documents are generated from a SharePoint Web Part.

Eric White

MSDN Magazine October 2009

Unable to open pdf from document library MOSS 2007


When I click on a pdf document uploaded in a document library it comes up with a blank page. 

I guess it's trying to open pdf on the browser. I turned off "Display PDF in browser " option in Adobe Preferences, but it doesn't help, same issue.

I tried other browsers too, it's the same issue.

I am able to open all other pdf files local to my machine fine.

I am using IE 8 on my machine (Windows 7) and the Sharepoint server is MOSS 2007.



Can I open the "new" menu in a SharePoint Document Library using Dragon NaturallySpeaking?


When a user, who uses Dragon NaturallySpeaking, says "new" when viewing a Document Library the default content type is selected and the associated application (e.g. Microsoft Word) is launched. This scenario is okay for Content Type selection since the Microsoft Office applications will prompt for the metadata once the file is saved.

If the user needs to create new folders in the Document Library however they need to expand the "new" dropdown menu.

What is the best way for someone using Dragon NaturallySpeaking to expand the "new" menu for a Document Library in SharePoint?

Check-out issue when opening a document from a document library when a read-only copy is open

We have an issue when a user has a read-only copy of a document from SharePoint open and then tries to check-out and edit another copy of the document (i.e. from the document library) the checked out copy is not connected to the web server. For the user it will look the same they will make edits, save and then close, but when they do so the document is not updated in SharePoint - it may be saved locally in their SP drafts, but the user will think that they have lost their version. We then get the checked out to another user error and you have to discard changes to get the document working again. Steps to reproduce this issue: * click on the name of a office doc on a Document Library * Make sure "Read Only" is selected and click "ok" * Minimize open document * click on the same file on the Document Library * Make sure "check out and edit" is selected and the "Use my local drafts folder" checkbox is ticked. Select OK. * Edit document and press save. Changes are never saved back in SharePoint, they are only on the local draft. We are using MOSS with SP2. Clients are on Office 2003 and 2007 Is this normal behaviour? Is there anything that can be done to prevent this from happening?
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend