Re: Run form invisibly in background
- From: "Dirk Goldgar" <dg@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2005 17:39:59 -0400
"Rick Brandt" <rickbrandt2@xxxxxxxxxxx> wrote in message
news:oPxDe.922$Ok6.495@xxxxxxxxxxxxxxxxxxxxxxxxxx
>> Is there a way to have a form open but invisible to the user? I am
>> running a couple of forms that contain code that gently logs users
>> off the app after 5 mins and it requires a form to be open to check a
>> table field every 5 mins (Can't remember where I got the code, but it
>> works well). How can I keep this form open but invisible to the user?
>> Further, I've noticed on XP machines, forms get their own spot on the
>> taskbar. Any way to hide this?
>
> In the Open event of the form...
>
> Me.Visible = False
>
> The taskbar issue is from the newer versions of Access, not Windows.
> The option to change is called "Windows in Taskbar".
Also if you're opening the form with VBA code, you can open it hidden
without using code in its Open event:
DoCmd.OpenForm, "YourForm", WindowMode:=acHidden
And if the form is hidden, it won't have a button on the task bar, so
you don't have to worry about that.
--
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)
.
- References:
- Run form invisibly in background
- From: RipperT
- Re: Run form invisibly in background
- From: Rick Brandt
- Run form invisibly in background
- Prev by Date: Re: Drag n drop function for form memo field
- Next by Date: Re: Modifying the current record in code
- Previous by thread: Re: Run form invisibly in background
- Next by thread: DTS from Access forms
- Index(es):