-How Would I Fix this error
(Where & How do I mark the STAThreadAttribute )
-This Occurs when I'm in a textbox (a large one) and execute a notepad-like cut or paste or copy
System.Threading.ThreadStateException: The current thread must set to Single Thread Apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
What's the " Main Function ", the cut/copy/paste functions are like 3 lines long