I am trying to start a windows MS Access mde file on the press of a button, which I can do but it always launches as a restored window, ideally it should be maximized.
I have tried Launch, Launch document, open process (this opens MS Access maximized but not the mde file).
Any suggestions?
Best Regards
Chris
Starting Another program
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Does it work if you do something like starting by getting the Windows shell to issue the command line "start" instruction with the /MAX switch?
Code: Select all
put "<<your path/your file.mde>>" into tApp
set the hideConsoleWindows to true
get shell ("start /MAX" && quote & quote && quote & tApp & quote)
--the "extra" quotes are because the first quoted parameter passed to "start"
--are used as the console window title - so there's an empty "title" parameter here