I try to run an Access report and use the following command in order to maximize the Access window :

Dim loObject as new access.application
loObject.docmd.runcommand (10)


In this way, the maximize has no effect.
If put the same line twice, it works fine but with the window is flashing. What is wrong in our approach ?

Marci Sarwan ([email protected])