Le thread actuel n'est pas en mode STA (Single Thread Apartment). Débuter un processus lorsque UseShellExecute a la valeur True suppose que le thread actuel soit en mode STA. Assurez-vous que votre fonction Main est marquée STAThreadAttribute.
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.