Solved

Show in taskbar

Posted on 2000-04-04
4
138 Views
Last Modified: 2010-08-05
When I show a new form on the screen, it will not show up in the task bar.  The button in the task bar for the original form also disappears.  The property show in task bar is set to true for both forms.  Is there a way to  make the second form show or at least keep the first form in the task bar?
0
Comment
Question by:wilch101
  • 2
4 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2684371
What type of project? (Standard EXE)
Post the code you use to show the second form.
0
 
LVL 1

Author Comment

by:wilch101
ID: 2684444
It is a standard exe.  An example of the code:

Private Sub cmdGotoPO_Click()
    frmMain.Hide
    frmPO.Show 1
End Sub

Where frmMain is the main form.  The task bar button will disappear when frmPO is called.

0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2684522
Private Sub cmdGotoPO_Click()
    frmMain.Hide
    frmPO.Show
End Sub
0
 
LVL 32

Accepted Solution

by:
Erick37 earned 50 total points
ID: 2684532
1) When you hide a form, it will not show in the taskbar.

2) A form shown modally will not show in the taskbar.

Try:

frmMain.Hide
frmPO.Show 0, Me
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

808 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