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
119 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 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now