Den aktuelle tråd er ikke i STA-tilstand (Single Thread Apartment). For at starte en proces med UseShellExecute angivet til True skal den aktuelle tråd være i STA-tilstand. Kontroller, at STAThreadAttribute er markeret i funktionen Main.
Click to search this error in Google
English version
Current thread is not in Single Thread Apartment (STA) mode. Starting a process with UseShellExecute set to True requires the current thread be in STA mode. Ensure that your Main function has STAThreadAttribute marked.