Keeping a Hidden Form Hidden

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?
 
D

Dirk Goldgar

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?
 
N

nomadk

The login form is hidden from a macro using the SetValue action:
"[Forms]![frmLogin].[Visible] = False"
 
N

nomadk

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.
 
D

Dirk Goldgar

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top