Using Visual Studio 2005, and currently still quite new to it, .NET has it's fair share of differences to VB 6.0 and other languages and even those I have not yet mastered.

I was trying to do a simple task. I opened a New File, a windows application...deleted the form that it loaded up as I only wanted to make a button, typed in the code, which all seems to be correct, but it will not run the script properly. Because it says that "Form1.vb is not part of WindowsApplication blah blah blah..." So I looked at the code where this error was originating from (not from the new class I created to make my button) and it basically is looking for the form I deleted as a startup form, but I was told previously that it wasn't necessary, then when I try running my button script with the forum script still there nothing happens it just loads the form without the button.

Could someone help please?