Questions tagged [win-form]

Windows Forms (WinForms) is the name given to a graphical (GUI) class library included as a part of Microsoft .NET Framework, providing a platform to write rich client applications for desktop, laptop, and tablet PCs

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Download a specific file from SharePoint (CSOM) using C#

I'm developing a C# based application that requires to download, checkout, upload, check in on a specific file from/to Sharepoint with CSOM. So I have two questions here: Firstly, on download, is ...
johny's user avatar
  • 1
1 vote
2 answers
3k views

Upload Multiple Documents to SharePoint Online using C#

I've been trying for a while to make this work, but I'm stuck. I've checked all the solutions around here and google, but can't seem to figure out why I keep getting an error. string targetFolder = "/...
WebDev's user avatar
  • 13
0 votes
1 answer
2k views

Starting a second message loop on a single thread is not a valid operation

I am using the following code in a Winforms app to upload an image file to SharePoint Online: Try Using ctx As ClientContext = ClaimClientContext.GetAuthenticatedContext(url, 0, 0) ...
Jim Hewitt's user avatar
2 votes
3 answers
2k views

Getting Minor Version, Major Version, TimeCreated, TimeModified of document using CSOM

As a follow up to this post, I have a document that I am downloading from OneDrive library using CSOM. private static void DownloadFile(ClientContext context, string listTitle, int listItemId, ...
user3929962's user avatar
2 votes
1 answer
3k views

download file from OneDrive using Microsoft.SharePoint.Client

I have a winforms application and I need to download files from a SharePoint OneDrive directory. Currently, given my code below, I am able to read the "Title" of the file, but I can't find anything to ...
user3929962's user avatar
0 votes
1 answer
177 views

SPWeb not showing site that exists

I have migrated a site from 2007 to 2010. I then moved the site collection to a place within a subsite using site content and structure. Everything works fine and I can see everything correctly. ...
Ali Jafer's user avatar
  • 17.8k