running another form

  • Thread starter Thread starter Omar Alawna
  • Start date Start date
O

Omar Alawna

Hi..I have the main form setup..and now i had to add another form to the
project..when i run the form2 from form1_load event like this:
results.show() ,the form will show but without any of the properties i
specified for it..and no controls on it even..form1 runs fine though..How
can i fix this..thanks
by the way in form1 i wrote dim form2 as new form to access form 2
 
* "Omar Alawna said:
Hi..I have the main form setup..and now i had to add another form to the
project..when i run the form2 from form1_load event like this:
results.show() ,the form will show but without any of the properties i
specified for it..and no controls on it even..form1 runs fine though..How
can i fix this..thanks
by the way in form1 i wrote dim form2 as new form to access form 2

That should work. Are you performing heavy processing directly after
showing the 2nd form?
 
No heavy processing..i did not even write any code for the second form..only
put some buttons and textboxes.
Do you know any other way to do it?
thanks
 
No heavy processing..i did not even write any code for the second form..only
put some buttons and textboxes.
Do you know any other way to do it?
thanks
 
* "Omar Alawna said:
No heavy processing..i did not even write any code for the second form..only
put some buttons and textboxes.
Do you know any other way to do it?

Please post the code you use to show the 2nd form exactly as you use it
in your project.
 
how about writing your dim statement for form2 as:
dim frm2 as new form2 (or whatever you named your second form)

sounds like you are creating a second form (which form2 should be inheriting
from)

-frosty
 
Back
Top