Discussion
Nationwide Building Society
GB
Last activity: 22 Jul 2020 11:54 EDT
ThreadStatException
Automation of application using C# script results in error when attempting to clear clipboard using the following code line
My.Computer.Clipboard.Clear()
The same code is not erroring for other .net or C# applications
Attempted to resolve by including <STAThread> line before calling funtion