Hidden form showing in Windows task bar
Access 97/2003 Windows XP (Classic Start Menu)
I just converted an mdb from A97 to A2K3 and found something that,
after Google search, doesn't appear to have been addressed in cdma...
I have a form "frmMainMenu" that is the designated startup form (under
Tools-Startup). In the Open event of that form, I open another form
"frmHidden" and set its Visible property to false.
When I converted to A2K3, it worked fine just like in A97. But when I
went into Tools-Startup and checked the box under Application Icon
that reads "Use as Form and Report Icon", the Windows task bar showed
two windows open - frmMainMenu and frmHidden. The Access application
window only shows the Main Menu form, but if I choose frmHidden from
the task bar, it appears.
Without unchecking it, when I close and reopen I get the same
behavior. But when I do uncheck that option, frmHidden stays hidden.
I can live without having each form and report use the same icon as
the main app, but I wonder if anyone has experienced this before, and
if there's a known fix for it?
Re: Hidden form showing in Windows task bar
"Robert McEuen" <rmceu1 [at] aegonusa.com> wrote in message
news:086f06ce-55bf-49ca-b892-a020364a7fc8 [at] e25g2000prg.google groups.com...
> Access 97/2003 Windows XP (Classic Start Menu)
>
> I just converted an mdb from A97 to A2K3 and found something that,
> after Google search, doesn't appear to have been addressed in cdma...
>
> I have a form "frmMainMenu" that is the designated startup form (under
> Tools-Startup). In the Open event of that form, I open another form
> "frmHidden" and set its Visible property to false.
>
> When I converted to A2K3, it worked fine just like in A97. But when I
> went into Tools-Startup and checked the box under Application Icon
> that reads "Use as Form and Report Icon", the Windows task bar showed
> two windows open - frmMainMenu and frmHidden. The Access application
> window only shows the Main Menu form, but if I choose frmHidden from
> the task bar, it appears.
>
> Without unchecking it, when I close and reopen I get the same
> behavior. But when I do uncheck that option, frmHidden stays hidden.
>
> I can live without having each form and report use the same icon as
> the main app, but I wonder if anyone has experienced this before, and
> if there's a known fix for it?
Why have forms showing in the task bar at all? Try un-checking 'Windows in
task bar' on the view tab of the options dialog (Menu: Tools->Options).
Re: Hidden form showing in Windows task bar
On Jan 3, 1:04 pm, "Stuart McCall" <smcc... [at] myunrealbox.com> wrote:
> "Robert McEuen" <rmc... [at] aegonusa.com> wrote in message
>
> news:086f06ce-55bf-49ca-b892-a020364a7fc8 [at] e25g2000prg.google groups.com...
>
>
>
> > Access 97/2003 Windows XP (Classic Start Menu)
>
> > I just converted an mdb from A97 to A2K3 and found something that,
> > after Google search, doesn't appear to have been addressed in cdma...
>
> > I have a form "frmMainMenu" that is the designated startup form (under
> > Tools-Startup). In the Open event of that form, I open another form
> > "frmHidden" and set its Visible property to false.
>
> > When I converted to A2K3, it worked fine just like in A97. But when I
> > went into Tools-Startup and checked the box under Application Icon
> > that reads "Use as Form and Report Icon", the Windows task bar showed
> > two windows open - frmMainMenu and frmHidden. The Access application
> > window only shows the Main Menu form, but if I choose frmHidden from
> > the task bar, it appears.
>
> > Without unchecking it, when I close and reopen I get the same
> > behavior. But when I do uncheck that option, frmHidden stays hidden.
>
> > I can live without having each form and report use the same icon as
> > the main app, but I wonder if anyone has experienced this before, and
> > if there's a known fix for it?
>
> Why have forms showing in the task bar at all? Try un-checking 'Windows in
> task bar' on the view tab of the options dialog (Menu: Tools->Options).
Thanks for your reply, Stuart.
That solution works if it's a personal preference of mine and will
only ever be opened on my machine. But this is a multi-user database,
and the "Windows in Taskbar" setting is an Access application level
setting. So if the mdb is opened on a machine that has "Windows in
Taskbar" checked, the problem persists.
I suppose I could look into setting that option via code, but that
would also have to include a prior determination of the state of that
setting so that I could set it back, if needed (it would be rude not
to!). Interesting stuff, but maybe better addressed in a new thread
if/when I have to resort to that.
Does anyone else have any suggestions for/experience with the "Use as
Form and Report Icon" conundrum?
Re: Hidden form showing in Windows task bar
"Robert McEuen" <rmceu1 [at] aegonusa.com> wrote in message
news:cd3c73f4-4c85-40fb-bf21-bddbd2d01b7f [at] 5g2000hsg.googlegr oups.com...
<SNIP>
>> Why have forms showing in the task bar at all? Try un-checking 'Windows
>> in
>> task bar' on the view tab of the options dialog (Menu: Tools->Options).
>
>
> Thanks for your reply, Stuart.
>
> That solution works if it's a personal preference of mine and will
> only ever be opened on my machine. But this is a multi-user database,
> and the "Windows in Taskbar" setting is an Access application level
> setting. So if the mdb is opened on a machine that has "Windows in
> Taskbar" checked, the problem persists.
>
> I suppose I could look into setting that option via code, but that
> would also have to include a prior determination of the state of that
> setting so that I could set it back, if needed (it would be rude not
> to!). Interesting stuff, but maybe better addressed in a new thread
> if/when I have to resort to that.
If you want to explore this approach, here's the definitive documentation
for GetOption/SetOption:
http://msdn2.microsoft.com/en-us/library/aa172326(office.11) .aspx
>
> Does anyone else have any suggestions for/experience with the "Use as
> Form and Report Icon" conundrum?