PDA

Click to See Complete Forum and Search --> : Maximise Access object when running report throVB


Dec 29th, 2000, 07:18 PM
I have an application in visual basic that creates Access object and runs the access report. I use Do cmd object to run the report and maximise method of do cmd to maximise the report. This maximises the Report in Access. But access application runs minimized. How to bring access application
to the top of the screen and maximise it ??
Please help me in this .
TIA!

Jan 4th, 2001, 11:08 PM
Got this problem solved through my friends help. Set the Access objects visible property true. Used the showWindow (hwd,MAXIMISE)API and passed the access object handle got by calling hwdaccess() method of Application oBject. Voila !! It works!!

elesieur
Jan 15th, 2001, 12:45 PM
Application.visible !

Did you tried the visible property of Application object???
It seems to maximize Access window (default is false for OLE call).
Enjoy!