VB app in TaskBar

VB app in TaskBar

Author

Message

Mikhail Gryazno#1 / 7

VB app in TaskBar

I have VB application which is not appearing in TaskBar when it is running. SO, I see FORMS of application on the screen, but this application is hidden iff TaskBar. I can see my application into TaskManager list. But I can NOT switch to my application by using ALT+TAB. This is strange for me.

I am using: Sub Main() Dim formToRunFirst as frmMain

Set formToRunFirst = New frmMain

formToRunFirst.Show vbModal

End Sub

frmMain is my form included into the project. It is NOT MDIform.

Thank You Mikhail.

Sun, 19 Sep 2004 04:02:39 GMT

Alexande#2 / 7

VB app in TaskBar

set ShowInTaskBar property to true

Quote:

> I have VB application which is not appearing in TaskBar when it is running. > SO, I see FORMS of application on the screen, > but this application is hidden iff TaskBar. > I can see my application into TaskManager list. > But I can NOT switch to my application by using ALT+TAB. > This is strange for me.

> I am using: > Sub Main() > Dim formToRunFirst as frmMain

> Set formToRunFirst = New frmMain

> formToRunFirst.Show vbModal

> End Sub

> frmMain is my form included into the project. It is NOT MDIform.

> Thank You > Mikhail.

Sun, 19 Sep 2004 04:18:04 GMT

Mikhail Gryazno#3 / 7

VB app in TaskBar

This property is set to TRUE in design mode. You can NOT change this property in run-time.

So, It did NOT help. Mikhail.

Quote:

> set ShowInTaskBar property to true

> > I have VB application which is not appearing in TaskBar when it is > running. > > SO, I see FORMS of application on the screen, > > but this application is hidden iff TaskBar. > > I can see my application into TaskManager list. > > But I can NOT switch to my application by using ALT+TAB. > > This is strange for me.

> > I am using: > > Sub Main() > > Dim formToRunFirst as frmMain

> > Set formToRunFirst = New frmMain

> > formToRunFirst.Show vbModal

> > End Sub

> > frmMain is my form included into the project. It is NOT MDIform.

> > Thank You > > Mikhail.

Sun, 19 Sep 2004 05:10:18 GMT

Alexande#4 / 7

VB app in TaskBar

u'll be surprised, but you can change change appearence of the form in the taskbar, not through standard vb property, but through win api SetWindowLong (check out its parameters).

> This property is set to TRUE in design mode. > You can NOT change this property in run-time.

> So, It did NOT help. > Mikhail.

> > set ShowInTaskBar property to true

> > > I have VB application which is not appearing in TaskBar when it is > > running. > > > SO, I see FORMS of application on the screen, > > > but this application is hidden iff TaskBar. > > > I can see my application into TaskManager list. > > > But I can NOT switch to my application by using ALT+TAB. > > > This is strange for me.

> > > frmMain is my form included into the project. It is NOT MDIform.

> > > Thank You > > > Mikhail.

Sun, 19 Sep 2004 08:44:58 GMT

Alexande#5 / 7

VB app in TaskBar

Re: SetWindowLong ::: i was talking about run-time change.

Quote:

> This property is set to TRUE in design mode. > You can NOT change this property in run-time.

> So, It did NOT help. > Mikhail.

> > set ShowInTaskBar property to true

> > > I have VB application which is not appearing in TaskBar when it is > > running. > > > SO, I see FORMS of application on the screen, > > > but this application is hidden iff TaskBar. > > > I can see my application into TaskManager list. > > > But I can NOT switch to my application by using ALT+TAB. > > > This is strange for me.

> > > frmMain is my form included into the project. It is NOT MDIform.

> > > Thank You > > > Mikhail.

Sun, 19 Sep 2004 08:49:22 GMT

Mikhail Gryazno#6 / 7

VB app in TaskBar

I found the word from MS on this issue:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q178754

But, anyway I'll try what yousuggest. Thank You, Mikhail.

Quote:

> Re: SetWindowLong ::: i was talking about run-time change.

> > This property is set to TRUE in design mode. > > You can NOT change this property in run-time.

> > So, It did NOT help. > > Mikhail.

> > > set ShowInTaskBar property to true

> > > > I have VB application which is not appearing in TaskBar when it is > > > running. > > > > SO, I see FORMS of application on the screen, > > > > but this application is hidden iff TaskBar. > > > > I can see my application into TaskManager list. > > > > But I can NOT switch to my application by using ALT+TAB. > > > > This is strange for me.

> > > > frmMain is my form included into the project. It is NOT MDIform.

> > > > Thank You > > > > Mikhail.

Sun, 19 Sep 2004 09:33:17 GMT

A. Yam#7 / 7

VB app in TaskBar

Maybe because you used a form with out borders, if so, check this link, it was what i've been looking for lately http://www.mvps.org/vbvision/grouped_demos.htm#Icon_Routine s "Proxy For Taskbar Demo"

Quote:

>-----Original Message----- >I have VB application which is not appearing in TaskBar when it is running. >SO, I see FORMS of application on the screen, >but this application is hidden iff TaskBar. >I can see my application into TaskManager list. >But I can NOT switch to my application by using ALT+TAB. >This is strange for me.