Solved

Show in taskbar

Posted on 2000-04-04
4
139 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
to transfer string from C lanaguage to VBA 4 77
Adding to a VBA? 6 82
Can we place a tooltip on the actual vb6 form 5 50
Publisher:   Unknown     VB.exe Application 1 31
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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

685 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