VB App not on Task Bar

I've created an application using VB6 Enterprise Edition.  The app was installed using InstallShield Express.  When the user starts the application it doesn't show on the Task Bar.  If the user starts other applications while mine is running, my app is hidden in back of the other apps.  The only way to get back to my app is to minimize every other app which then shows my app on the desktop.

How do I add my app to the Task Bar?

MelvinAsked:
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.

KDivadCommented:
Check the ShowInTaskbar property of the form.
0
JuiletteCommented:
'if the form is titleless you need this

Private Declare Function SetWindowLong Lib "user32" _
Alias "SetWindowLongA" (ByVal hwnd As Long, _
ByVal nIndex As Long, ByVal dwNewLong As Long) _
As Long

Private Const GWL_STYLE = (-16)
Private Const WS_SYSMENU = &H80000

'<<<<<<   Form load  >>>>>>

Private Sub Form_Load()
Call SetWindowLong(Me.hwnd, GWL_STYLE, WS_SYSMENU)
End Sub


0
cantrellCommented:
Or, you can just make it on top by doing this.

Public Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long


'Make the form  on top.
SetWindowPos hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE

0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

MelvinAuthor Commented:
The solution that I used to correct my problem was provided by kdivad as a comment.  How do I get credit to that individual?
0
KDivadCommented:
There should be a link next to my name on any of my posts that says something like "Accept Comment As Answer". If not, then reject the current answer, then the link should be there. If for some reason it's STILL not there, let me know and I'll post an answer.
0
MelvinAuthor Commented:
The solution that I used to correct my problem was provided by kdivad as a comment.  How do I get credit to that individual?

cantell's answer wasn't unsatisfactory. I decided to use someone else's "comment" instead.

0
KDivadCommented:
You should have been able to pick "Accept comment as answer" but here: I'll answer it.
cantrell had a good way to get rid of your problem (losing the form) and I did think of it, but it wasn't what you asked for, so I figured you might already have thought of it.
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
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
Installation

From novice to tech pro — start learning today.