dbTalk Databases Forums  

Hidden form showing in Windows task bar

comp.databases.ms-access comp.databases.ms-access


Discuss Hidden form showing in Windows task bar in the comp.databases.ms-access forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Robert McEuen
 
Posts: n/a

Default Hidden form showing in Windows task bar - 01-03-2008 , 01:47 PM






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?

Reply With Quote
  #2  
Old   
Stuart McCall
 
Posts: n/a

Default Re: Hidden form showing in Windows task bar - 01-03-2008 , 02:04 PM






"Robert McEuen" <rmceu1 (AT) aegonusa (DOT) com> wrote

Quote:
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).




Reply With Quote
  #3  
Old   
Robert McEuen
 
Posts: n/a

Default Re: Hidden form showing in Windows task bar - 01-03-2008 , 06:58 PM



On Jan 3, 1:04 pm, "Stuart McCall" <smcc... (AT) myunrealbox (DOT) com> wrote:
Quote:
"Robert McEuen" <rmc... (AT) aegonusa (DOT) com> wrote in message

news:086f06ce-55bf-49ca-b892-a020364a7fc8 (AT) e25g2000prg (DOT) googlegroups.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?


Reply With Quote
  #4  
Old   
Stuart McCall
 
Posts: n/a

Default Re: Hidden form showing in Windows task bar - 01-03-2008 , 07:26 PM



"Robert McEuen" <rmceu1 (AT) aegonusa (DOT) com> wrote

<SNIP>
Quote:
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/lib...ffice.11).aspx

Quote:
Does anyone else have any suggestions for/experience with the "Use as
Form and Report Icon" conundrum?



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.