Keeping a Hidden Form Hidden

  • Thread starter Thread starter nomadk
  • Start date Start date
N

nomadk

A2003, XP Pro

When users open my application they enter a name and password and click a
Log In button. The login form is hidden and their Home form displays. One of
the buttons on the Home form opens an MS Word doc using the FollowHyperlink
command. When the user closes the Word doc they see my application but the
login form is now visible and is in front of the Home form. I thought maybe
deselecting the option to Show Windows in Taskbar might help but that has no
effect.

How do I keep the login form hidden?
 
nomadk said:
A2003, XP Pro

When users open my application they enter a name and password and click a
Log In button. The login form is hidden and their Home form displays. One
of
the buttons on the Home form opens an MS Word doc using the
FollowHyperlink
command. When the user closes the Word doc they see my application but the
login form is now visible and is in front of the Home form. I thought
maybe
deselecting the option to Show Windows in Taskbar might help but that has
no
effect.

How do I keep the login form hidden?


I don't see this behavior in a quick test I've made. What code are you
using to hide the form, and what exact code are you using to open the Word
document? Do you have anything interesting happening in a Timer event?
 
The login form is hidden from a macro using the SetValue action:
"[Forms]![frmLogin].[Visible] = False"
 
The login form is hidden from a macro using the SetValue action:
"[Forms]![frmLogin].[Visible] = False".

The code to open the Word doc is: "Application.FollowHyperlink
DocumentPath() & "\Using PSS Contact Central.doc"".
DocumentPath() is the public function: "DocumentPath = CurrentProject.Path &
"\Documents"".

There are no timer events in the application.
 
nomadk said:
The login form is hidden from a macro using the SetValue action:
"[Forms]![frmLogin].[Visible] = False".

The code to open the Word doc is: "Application.FollowHyperlink
DocumentPath() & "\Using PSS Contact Central.doc"".
DocumentPath() is the public function: "DocumentPath = CurrentProject.Path
&
"\Documents"".

There are no timer events in the application.


I'm perplexed by this, as it is not normal behavior. Does it happen for
other Access databases on your computer? Does it happen on other computers
if you run this application there?
 
Back
Top