Click here to Skip to main content
12,508,112 members (54,882 online)

SharePoint

 
AnswerRe: InfoPath form on Submit! Open as an Outlook email Message using C# Pin
ihoecken26-Feb-13 20:58
memberihoecken26-Feb-13 20:58 
QuestionUpdating a content type with new column, but need to add the default value to existing items Pin
Aptiva Dave14-Feb-13 4:55
memberAptiva Dave14-Feb-13 4:55 
GeneralRe: Updating a content type with new column, but need to add the default value to existing items Pin
ihoecken14-Feb-13 6:02
memberihoecken14-Feb-13 6:02 
GeneralRe: Updating a content type with new column, but need to add the default value to existing items Pin
Aptiva Dave14-Feb-13 8:17
memberAptiva Dave14-Feb-13 8:17 
AnswerRe: Updating a content type with new column, but need to add the default value to existing items Pin
ihoecken14-Feb-13 21:31
memberihoecken14-Feb-13 21:31 
QuestionAccessing SharePoint information regarding specific documents Pin
muneebalikiyani13-Feb-13 18:04
membermuneebalikiyani13-Feb-13 18:04 
AnswerRe: Accessing SharePoint information regarding specific documents Pin
ihoecken13-Feb-13 21:57
memberihoecken13-Feb-13 21:57 
QuestionPopulating list columns in Sharepoint 2010 custom doc library Pin
Aptiva Dave10-Feb-13 7:15
memberAptiva Dave10-Feb-13 7:15 
AnswerRe: Populating list columns in Sharepoint 2010 custom doc library Pin
AnandSharmaUK20-Feb-13 0:27
memberAnandSharmaUK20-Feb-13 0:27 
QuestionSoftware and Hardware requirements for document shareing Pin
HemadriT7-Feb-13 7:24
memberHemadriT7-Feb-13 7:24 
AnswerRe: Software and Hardware requirements for document shareing Pin
ihoecken10-Feb-13 21:10
memberihoecken10-Feb-13 21:10 
QuestionMessage Automatically Removed Pin
6-Feb-13 16:30
membera uj6-Feb-13 16:30 
QuestionDeleting Items in a SPListItemCollection Pin
Aptiva Dave31-Jan-13 5:05
memberAptiva Dave31-Jan-13 5:05 
AnswerRe: Deleting Items in a SPListItemCollection Pin
JimmyRopes7-Feb-13 1:39
memberJimmyRopes7-Feb-13 1:39 
I find it painful to read VB so I won't try to see where you are going wrong. Here is an alternate way of deleting all items from a list that may not be as efficient but for lists with a reasonable number of items the efficiency will not matter.

Go through the list items and get a list of GUIDs of the list items.

SPListItemCollection listItems = oWeb.Lists["List Name"].Items;
List<GUID> listGUID = new List<GUID>();
foreach (SPListItem Item in listItems)
{
  listGUID.Add(Item.UniqueId);
}

Translate that to VB.

Then go through the list of GUIDs and delete each one. Update the list after you are finished and the items will be gone.

The report of my death was an exaggeration - Mark Twain

Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems

I'm on-line therefore I am.
JimmyRopes


QuestionGetting an error when trying to upload a document Pin
JimmyRopes30-Jan-13 2:35
memberJimmyRopes30-Jan-13 2:35 
AnswerRe: Getting an error when trying to upload a document Pin
ihoecken30-Jan-13 2:50
memberihoecken30-Jan-13 2:50 
GeneralRe: Getting an error when trying to upload a document Pin
JimmyRopes30-Jan-13 4:03
memberJimmyRopes30-Jan-13 4:03 
AnswerRe: Getting an error when trying to upload a document Pin
ihoecken30-Jan-13 4:55
memberihoecken30-Jan-13 4:55 
AnswerRe: Getting an error when trying to upload a document Pin
ihoecken30-Jan-13 2:57
memberihoecken30-Jan-13 2:57 
GeneralRe: Getting an error when trying to upload a document Pin
JimmyRopes30-Jan-13 4:05
memberJimmyRopes30-Jan-13 4:05 
QuestionRequest for Sharepoint tutorial links Pin
obalesu28-Jan-13 18:18
memberobalesu28-Jan-13 18:18 
AnswerRe: Request for Sharepoint tutorial links Pin
ihoecken28-Jan-13 21:13
memberihoecken28-Jan-13 21:13 
QuestionCan CAML query handle multiple lists? Pin
Clark Kent12328-Jan-13 5:35
memberClark Kent12328-Jan-13 5:35 
AnswerRe: Can CAML query handle multiple lists? Pin
ihoecken28-Jan-13 21:17
memberihoecken28-Jan-13 21:17 
GeneralRe: Can CAML query handle multiple lists? Pin
Clark Kent12329-Jan-13 1:34
memberClark Kent12329-Jan-13 1:34 
QuestionThrowing an exception when trying to attach a document to a list item Pin
JimmyRopes25-Jan-13 2:34
memberJimmyRopes25-Jan-13 2:34 
AnswerRe: Throwing an exception when trying to attach a document to a list item Pin
Aptiva Dave31-Jan-13 5:07
memberAptiva Dave31-Jan-13 5:07 
GeneralRe: Throwing an exception when trying to attach a document to a list item Pin
JimmyRopes31-Jan-13 13:30
memberJimmyRopes31-Jan-13 13:30 
GeneralRe: Throwing an exception when trying to attach a document to a list item Pin
JimmyRopes7-Feb-13 2:31
memberJimmyRopes7-Feb-13 2:31 
QuestionHo to Enable Titlle Column in Document Library using power shell in sharepoint 2010 Pin
ps4124-Jan-13 18:21
memberps4124-Jan-13 18:21 
AnswerRe: Ho to Enable Titlle Column in Document Library using power shell in sharepoint 2010 Pin
ihoecken24-Jan-13 22:06
memberihoecken24-Jan-13 22:06 
QuestionHow to intergrade Sarepoint contacts with MS exchange server? Pin
cns connect20-Jan-13 21:57
membercns connect20-Jan-13 21:57 
AnswerRe: How to intergrade Sarepoint contacts with MS exchange server? Pin
ihoecken20-Jan-13 23:44
memberihoecken20-Jan-13 23:44 
QuestionExternal content type crawlling sharepoint 2013 Pin
Member 401525120-Jan-13 8:40
memberMember 401525120-Jan-13 8:40 
Questionsharepoint 2010 birthday reminder webpart Pin
ssivarao17-Jan-13 1:13
memberssivarao17-Jan-13 1:13 
AnswerRe: sharepoint 2010 birthday reminder webpart Pin
ihoecken20-Jan-13 23:42
memberihoecken20-Jan-13 23:42 
Questionform Infopath Pin
zohre yousefi16-Jan-13 20:12
memberzohre yousefi16-Jan-13 20:12 
AnswerRe: form Infopath Pin
ihoecken16-Jan-13 23:24
memberihoecken16-Jan-13 23:24 
QuestionHow do I add a drop down list to the New Item... Pin
Clark Kent12315-Jan-13 8:50
memberClark Kent12315-Jan-13 8:50 
AnswerRe: How do I add a drop down list to the New Item... Pin
Clark Kent12316-Jan-13 7:06
memberClark Kent12316-Jan-13 7:06 
QuestionCannot connect to business data connectivity Metadata store Sharepoint designer 2013 Pin
Member 401525113-Jan-13 18:56
memberMember 401525113-Jan-13 18:56 
AnswerRe: Cannot connect to business data connectivity Metadata store Sharepoint designer 2013 Pin
Clark Kent12315-Jan-13 8:42
memberClark Kent12315-Jan-13 8:42 
GeneralRe: Cannot connect to business data connectivity Metadata store Sharepoint designer 2013 Pin
Member 401525115-Jan-13 22:19
memberMember 401525115-Jan-13 22:19 
QuestionPossible write a TimeSheet Program using SharePoint2010 Pin
Gabriel Yeung10-Jan-13 22:49
memberGabriel Yeung10-Jan-13 22:49 
AnswerRe: Possible write a TimeSheet Program using SharePoint2010 Pin
ihoecken10-Jan-13 23:23
memberihoecken10-Jan-13 23:23 
QuestionAutomatic Upload Script in SharePoint 2007 Pin
mbadi8-Jan-13 18:30
membermbadi8-Jan-13 18:30 
AnswerRe: Automatic Upload Script in SharePoint 2007 Pin
ihoecken8-Jan-13 20:34
memberihoecken8-Jan-13 20:34 
QuestionAggregate lists with JavaScript Pin
garfield1853-Jan-13 3:14
membergarfield1853-Jan-13 3:14 
AnswerRe: Aggregate lists with JavaScript Pin
ihoecken7-Jan-13 2:42
memberihoecken7-Jan-13 2:42 
Questionchange publish location infopath 2010 Pin
rehabreda29-Dec-12 1:28
memberrehabreda29-Dec-12 1:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 17 Sep 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid