Learn how to a build a cloud-first strategyRegister Now

x
?
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
Medium Priority
?
130 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
1 Comment
 
LVL 9

Accepted Solution

by:
samopal earned 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

810 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