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
1answer
35 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 ...
1
vote
2answers
785 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 = "/...
0
votes
1answer
744 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) ...
2
votes
3answers
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, ...
2
votes
1answer
2k 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 ...
0
votes
1answer
127 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. ...