Xochitl
Xochitl

Reputation: 23

My visual basic form is no longer accessible- how do I get to the code editor for it again?

Noobie question: I created a multi-form and one of the forms (fQuizzes) still works but I cannot access the code anymore, it shows as "VB" in the Solution Explorer- how do I access the code and keep it as a form again?

screenshot

Upvotes: 2

Views: 155

Answers (1)

Caius Jard
Caius Jard

Reputation: 74660

Whatever you've done to your code, your form no longer Inherits Form properly

Look what happens when I take a working Form:

enter image description here

And comment out the line that lets VB know it's a form:

enter image description here

Deleting or removing the FormName.Designer.vb from the project will also, implicitly, cause this to be true (the part where I said "no longer Inherits Form properly")

Upvotes: 2

Related Questions