Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

error in Application.Run(DisplayLoginForm) and Remote Authentication in SharePoint Online Using the Client Object Model

$
0
0

Hi guys

I Think that is a simple error, but I don’t have enough knowledge in .NET apps.

I make an console app that use Remote Authentication in SharePoint Online Using the Client Object Model, that a I downloaded from MSDN.

This App run ok.

But when I like to make a Windows From App. This component send me an error in Application.Run(DisplayLoginForm)

This err msg :

 An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll

Additional information: Starting a second message loop on a single thread is not a valid operation. Use Form.ShowDialog instead.

Is there any way to use a form inside a windows form?

Thank in advance

Ramiro


Ramiro B


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>