I am creating a active x control and can't figure out how to get it to startup with Form1 instead of sub main. In vb6 you used project properties. In vb.net I can't find anything that resembles it. Thanks for any help.
Printable View
I am creating a active x control and can't figure out how to get it to startup with Form1 instead of sub main. In vb6 you used project properties. In vb.net I can't find anything that resembles it. Thanks for any help.
go to project / properties / then under startup object select what you want...
jeff
Thanks, But I don't see a properties selection under the project menu.
alright, on the right, there is a solution explorer window, that holds all the modules and form names. Right click on the windowsapplication1 (default name of any new windows application project you start in vb.net) and select properties. you can get to the window that way too. then change the startup object...
jeff
that is weird, it seems that it only appears under project if you click or highlight the windowsapplication1, (or whatever you have it named in the solution explorer on the far right). if you have a form or module clicked it won't be there. so just right click on the name in the solution explorer and you can access it.