Results 1 to 3 of 3

Thread: How to maximize an Access Application

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Posts
    52
    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])
    Marci Sarwan

  2. #2
    Hyperactive Member JazzBass's Avatar
    Join Date
    Jun 1999
    Posts
    393

    Smile Are you in Access?

    Hi,
    Is you application running in Access? I guess it really doesn't matter, but in the OnOPen event of your report put in the following line:

    Code:
    Docmd.maximize
    That should do it. I don't have an chance to test it right at this moment.

    JazzBass
    JazzBass
    In the .NET era
    Trying to remember VB6
    Progress:
    XP Professional @ Home
    and @ the Office

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2000
    Location
    Posts
    52
    Hi JazzBazz,

    I want Access application window to be maximised and if possible to be controlled by the VB application. How do you do that?


    Marci S
    Marci Sarwan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width