Is there a ms access runtime hierarchy
You can use the Command function to return the argument portion of the command line used to launch Microsoft Access. This application will be deployed in a Citrix environment, so there is no worry about the end-users getting to the shortcut and modifying it to bypass or cause strange actions.Ĭommand Files\Micr.3\vbaac10.chm::/html/acfctCommand.htm#example
IS THERE A MS ACCESS RUNTIME HIERARCHY HOW TO
Maybe if I knew more about Windows programming I would know how to handle this. Is this type of functionality only available if I split the database from the forms and VBA code or even available at all? I did some searches in this forum and couldn't find anything. When the database launches, there is a Startup form that auto launches currently. "/msaccess.exe /application.accdb /customargs=mode:batch autoverify:true"
What I am wanting to know is if it is possible to pass, from a customized desktop link or the windows cmd line, parameters that my VBA code can get a hold of and use for scheduled/batch application? I don't know if the MSACCESS.EXE allows for the passing of custom parameters in this fashion. "/msaccess.exe /application.accdb /runtime"Īs well as make an execute-only version (*.accde) which protects the VBA code or even compile a true runtime version with the appropriate packages. I know how to do several things like fake a runtime: This is equivalent to creating a desktop shortcut like: How my code currently works, is that a user will double-click on the application.accdb file, which launches the full version of MS Access.
Working with MS Access and VBA has been my first venture so far. I am very new still to window's programming.
SOLVED: Is there a way to check MSACCESS.EXE cmd line arguments?