How to Fix: Method "Form1_Load" not Found

Kaz 0 Reputation points
2024-09-27T04:32:34.6266667+00:00

just got started using visual basic and I don't know how to fix thisUser's image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,888 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,722 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Jiachen Li-MSFT 31,166 Reputation points Microsoft Vendor
    2024-09-27T05:29:31.6733333+00:00

    Hi @Kaz ,

    Avoid manually modifying the code in the Form.Designer.vb file, it will be automatically generated by Visual Studio.

    Add the following code in your Form1.vb file.

        Private Sub Button9_Click(sender As Object, e As EventArgs) Handles Button9.Click      End Sub
    
    

    Best Regards.

    Jiachen Li


    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

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.