Discussion

1
Replies
11
Views
RichardB3397 Member since 2017 3 posts
Nationwide Building Society
Posted: 2 months ago
Last activity: 2 months 4 weeks ago

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

Pega Robotic Desktop Automation 19.1 Financial Services Robotics System Architect
Share this page LinkedIn