Hi @Steev43230 , welcome to MicrosoftQ&A.
Please open Application.Designer.vb file in solution explorer. If you cannot find it, cleck Show All File button.
Replace the Form1. in the following code with the modified name.
Best Regards.
Jiachen Li
If the answer is helpful, please click "Accept Answer" and upvote it.
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.