I would like to open an Access Database as not visible. But I need it to work in a Windows shortcut with a switch like:
"C:\Program Files (x86)\Microsoft Office\root\Office16\MSACCESS.EXE" "D:\MyDbToOpen.accdb / TheSwitch "
This database just execute code and close after it and I don't what to see any screen.
I know how to do it by vbscript, but for this particular use I need it to be in a Windows shortcut.
I need something that do not involve the anti-virus protection like a vbscript etc...
Thanks,
ASKER
Application.RunCommand acCmdAppMinimize
DoCmd.Minimize
The application starts and immediately is getting minimized
ASKER
Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.
TRUSTED BY