I got the error code 0x80070057 in my windows form on visual studio for my main code.

Crashed Prodigy 0 Reputation points
2023-04-18T18:40:12.5233333+00:00

I loaded up my project and got this error in the main code. I do not know how to fix it.

User's image

User's image

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-04-19T03:15:39.46+00:00

    Hi @Crashed Prodigy

    Welcome to Microsoft Q&A! 

    Can you create a new WinForms project and check that it occurs in specific project or all projects? 

    Which version of Visual Studio are you using? Please update it to the latest version and re-open the project to check again. 

    Besides, you can try to repair your Visual Studio with Visual Studio Installer. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Crashed Prodigy 0 Reputation points
    2023-04-24T18:51:12.6033333+00:00

    just get a new project


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.