I just started my 5th programming corse and for the life of me i cant find what im looking for. im probably just screwing up sintax or somehting.
Basically, i have 1 solution with 1 project and 2 forms in that project.
if i have form1 which has a button1 in it and a form 2
Form 1 is what executes first when the program starts running.
But what code do i need to have in the button1's onclick Subroutine that will cause form2 to become active??
all i have been able to find is how do to this in VB.6.0 by going form2.visible = true, but since form2 doesn't appear to have that property for it's control, i assume that was one of the (many) rivision points from VB 6 to VB. NET...
what line of code will cause form2 to pop up infront of form1; AND if i have a characterbla.vb class file instanciated with characterBla variableName = new characterBla, should i be able to access that object and it's variables from form2 with variableName.whatEver() ??? or is there something i need to prefix?