Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Show in taskbar in VB6?

1 view
Skip to first unread message

Michael Clarke

unread,
May 17, 1999, 3:00:00 AM5/17/99
to
Hi!

I have a program which was written in VB1, then converted to 3, 4, and
finally 6.

I want some of the forms in the project to show a button in the taskbar, and
ShowInTaskbar is set to true, but there is nothing in the taskbar...

Any ideas?

Thanks,

--
Michael Clarke

ICQ # = 36215383


Davy Jonet

unread,
May 17, 1999, 3:00:00 AM5/17/99
to
I think you open your forms as modal (frmForm.Show vbmodal).

Remove the vbModal, and the form will appear in the taskbar

Davy

Michael Clarke <mi...@wayfarer.hypermart.net> wrote in message
news:7houp6$imk$1...@newsreader3.core.theplanet.net...

Anders

unread,
May 18, 1999, 3:00:00 AM5/18/99
to
Hi!

Check your borderstyle for your form.

Also I think that there's a property (correct me if I'm wrong) in VB6 that
is called something like "ShowInTaskbar". Make sure that one is set to true.

/Anders

Michael Clarke

unread,
May 19, 1999, 3:00:00 AM5/19/99
to
Davy Jonet wrote in message <7hpa70$a9t$1...@news3.Belgium.EU.net>...

>I think you open your forms as modal (frmForm.Show vbmodal).
>
>Remove the vbModal, and the form will appear in the taskbar
>

You're right - it works. Is there a way round this? The form is being called
from within a loop. It needs to be modal, but it also needs the button in
the taskbar...

Thanks,

Mike

ICQ = 36215383

Chad Stansel

unread,
May 20, 1999, 3:00:00 AM5/20/99
to
You are not suppose to see a modal form in a taskbar however there is a bug
which will allow you to do it. This is kind of cludgey but it works...

Set the form.caption = "Something else" in the forms _Resize event. For some
dumb reason, you will then have the modal form appear in your taskbar. I have
used this in VB6.

Chad Stansel
www.stansel.com


In article <7hu8qt$8u$1...@newsreader3.core.theplanet.net>, "Michael Clarke"

<mi...@wayfarer.hypermart.net> wrote:
>Davy Jonet wrote in message <7hpa70$a9t$1...@news3.Belgium.EU.net>...
>
>>I think you open your forms as modal (frmForm.Show vbmodal).
>>
>>Remove the vbModal, and the form will appear in the taskbar
>>
>
>You're right - it works. Is there a way round this? The form is being called
>from within a loop. It needs to be modal, but it also needs the button in
>the taskbar...
>
>Thanks,
>
>Mike
>
>ICQ = 36215383

Chad Stansel
Independent Consultant
http://www.stansel.com

0 new messages