Solved

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

Posted on 2000-02-21
1
124 Views
Last Modified: 2010-05-02
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.
0
Comment
Question by:gizz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 9

Accepted Solution

by:
samopal earned 50 total points
ID: 2543214
Your programm works in "one memory space". If you want to see "one instance" in the Windows Status Bar, set ShowInTaskBar property of the form Form2 to False.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question