I'm having trouble where I accidentally delete my resource picture and it show this error

Isaac 0 Reputation points
2025-01-18T19:05:58.1633333+00:00

I'm seeking any VB.Net expert advice about how to solve this issue.

Screenshot 2025-01-19 025145

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2025-01-20T04:27:24.7933333+00:00

    Hello @Isaac,

    Welcome to Microsoft Q&A forum.

    I suggest you check the .Designer.vb file. Especially the "InitializeComponent( )" part.

    If you find any error, try to comment, remove or modify that line(s), test again(close the Designer view, open it again).

    After the error fixes and the designer works, try to re-add your resource picture.

    For example:

    User's image

    User's image

    Best Regards,

    Tianyu


    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.


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.