How to Show VB APP in TaskBar

I have an app written in VB 6.0 SP6.  When I open my app the main form appears on the screen and an entry also appears in the Windows Task Bar.  The description of the item in the task bar is the same as the caption on the main form.  As soon as I go to another form the Windows Task Bar entry dissapears.  Every time I return to the Main form an entry is again placed in the Task Bar.  Internally, when I go from the main form to the other forms I hide the main form and open the other forms with a statement such as 'frmCoverSheet.Show vbModal'.  The forms are all independant of one another (not midi).

I would like the entry to stay in the task bar the entire time that the APP is running.  What do I need to do?
LVL 1
mlcktmguyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Erick37Commented:
You may try this:

Me.Windowstate = vbMinimized

Form2.Show vbModal

Me.Windowstate = vbNormal
0
Erick37Commented:
Instead of hiding the form using the .Visible property, perhaps move it offscreen while the other form is displayed:

Dim x As Long, y As Long

x = Me.Left
y = Me.Top

'Move offscreen
Me.Move Screen.Width

DoEvents

'Show modal form
Form2.Show vbModal

'Restore
Me.Move x, y
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RogueSolutionsCommented:

If you don't show your forms as vbModal they get a TaskBar entry.  Since you are hiding before showing the next form you'll only have one TaskBar entry.

Of course your coding may not be suited to that change.

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.