Link to home
Start Free TrialLog in
Avatar of gizz
gizz

asked on

When using multiple forms in the same application, how do I prevent more than one memory space being used ?

Hi,
I'm writing an application which uses 2 forms. In Form1 I call the second form in the following way :-
 
  Sub cmdButton1_Click
    Show.Form2 modeless,Form1
  End Sub

This works great and both forms are on the desktop at the same time. The problem is that on the Windows status bar at the bottom of the screen, two instances now appear for my program, each representing a form. The user can therefore "Alt-TAB" between the two forms which is undesirable - is there any way just to get the whole program to be in one memory space.
ASKER CERTIFIED SOLUTION
Avatar of samopal
samopal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial