H.d.I make my app disappear from taskbar?

I have a ComServer. It has a form. The form shows, and the app appears in the taskbar.

Without the form, the Comserver doesn't work.

I have made the form invisible, but I also want to do make the app disappear from the taskbar.

Does anyone know how to do that?

Mind you, I don't want it in the system tray either.
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.

Does this help?

SetWindowLong(Application.Handle, GWL_EXSTYLE, GetWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW);

Regards, Madshi.
WiseGuyAuthor Commented:
Good Madshi,

Good Answer, thanx.

I'll give a 25 bonus for speed

so now its 100 points instead of the 75 previously.

Please post an answer.


Ramon 'WiseGuy' Huijbens

btw, wouldn't it be nice to have a top 15 for the running month. Now I cannot even dream of getting in the top 15 experts (I am at 1520)
Thanx for the bonus points...   :-))

Well, keep on fighting, then you'll enter the top15 someday, but it's getting harder every day. Tough competition here...

Regards, Madshi.

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

From novice to tech pro — start learning today.