loading forms

angelica
10-09-2001, 11:04 AM
I am very new to VB 6.0.....I want to know the code to make a command button execute the specified form...without popping up in another window. I want the second form to show on the same screen as the first screen.

Laurent
10-09-2001, 11:10 AM
for this you will need to have a MDI form( go under project menu, select add MDI form) then set the mdi child property to true in all the other forms and all the forms will appear in the MDI form

hope this helps

I'll be amongst the best any minute now !

Squirm
10-09-2001, 11:25 AM
angelica - I'm trying my best to understand. Elaborate if you can.

angelica
10-09-2001, 11:33 AM
THANKS!!!!! I got it to work....

Thinker
10-09-2001, 11:35 AM
If you don't want to do it MDI, you can have the first form load and show
the second form, then have the second form unload the first. By setting
the form top, left, height, and width, you can have the forms appear in
exactly the same position on the screen.

I think therefore I am... sometimes right. images/icons/wink.gif

JoeLeovinci
10-10-2001, 06:11 AM
I think that what you're talking about is not opening a new form but just have some "subform" visible in another one.
If I'm right just try the "frame" object (find in toolbox). You can put everithing inside it just like it's a form. Then set the visibility property true or false with your button event. I think this is simpler than opening a new form...
SeeYOU

jason1
10-10-2001, 09:26 AM
I'm trying to incorporate vb script into an html file in frontpage. Once the script is placed within a form element, the script does not run.. If you remove the form element the script runs and works ok. Do you know how to run vb script within a form?

Ad1
10-10-2001, 09:30 AM
you'd be better off starting your own post with this question, try sticking it in the HTML forum

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum