Nykyinen säie ei ole STA-tilassa. Jos prosessi käynnistetään UseShellExecute-ominaisuuden arvon ollessa True, nykyisen säikeen on oltava STA-tilassa. Varmista, että pääfunktiolle on määritetty STAThreadAttribute-ominaisuus.
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.