Showing VB Form Normal Size

Discussion in 'AutoCAD' started by matt_1ca, Mar 29, 2005.

  1. matt_1ca

    matt_1ca Guest

    Does anyone know how I can make my my VB form show normally in the screen instead of being minimized?

    I have created this VB executable which is triggered from a shell command in VBA.

    It does everything it is designed to do but it is a little bit annoying the first time it runs.

    The reason is that when it runs the first time it is minimized and the user has to always find it and click it just to see it on the screen at normal size.

    I have figured out how to make it stay on the screen (normal size) after the first time the user clicks it from a minimized size but the continued necessity for that first click just make that minimized size show up at normal size on the screen is really the one that is making the program not completely pleasant to use.

    I do not know how to do it -- but I am pretty sure there is someone who knows.

    Thank you so much for all the kind help you can give.

    Matt
     
    matt_1ca, Mar 29, 2005
    #1
  2. Shell "C:\program.exe", vbMaximizedFocus

    Once you type the comma you should get a dropdown
     
    Paul Richardson, Mar 29, 2005
    #2
  3. matt_1ca

    matt_1ca Guest

    A million thanks, I tried your suggestion right away -- and it worked like magic!

    Matt
     
    matt_1ca, Mar 29, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.