R
rwetmore
I've read and re-read the docs and it doesn't seem to make sense. According
to MSDN, if you create a new instance of Access for automation (via AccApp =
CreateObject("Access.Application") or AccApp = New Access.Application) its
main window is not supposed to be visible. Well, mine is. If I put the
following inline in the code: AccApp.visible = False, it doesn't hide the
window. But if I immediately break into the debugger and type it manually,
the window disappears.
I'm assuming that Access hasn't had a chance to fully load before I try to
reset its visible property. So I have two questions: why is my app showing
up, and/or how do I tell if it's fully loaded and settled down enough to hide?
to MSDN, if you create a new instance of Access for automation (via AccApp =
CreateObject("Access.Application") or AccApp = New Access.Application) its
main window is not supposed to be visible. Well, mine is. If I put the
following inline in the code: AccApp.visible = False, it doesn't hide the
window. But if I immediately break into the debugger and type it manually,
the window disappears.
I'm assuming that Access hasn't had a chance to fully load before I try to
reset its visible property. So I have two questions: why is my app showing
up, and/or how do I tell if it's fully loaded and settled down enough to hide?