Showing VB Form Normal Size
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Showing VB Form Normal Size

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
matt_1ca
Guest





Posted: Tue Mar 29, 2005 4:55 am    Post subject: Showing VB Form Normal Size Reply with quote

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

Back to top
Paul Richardson
Guest





Posted: Tue Mar 29, 2005 7:03 am    Post subject: Re: Showing VB Form Normal Size Reply with quote

Shell "C:\program.exe", vbMaximizedFocus

Once you type the comma you should get a dropdown



"matt_1ca" <nospam@address.withheld> wrote in message
news:29454571.1112054159074.JavaMail.jive@jiveforum2.autodesk.com...
Quote:
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
Back to top
matt_1ca
Guest





Posted: Tue Mar 29, 2005 5:38 pm    Post subject: Re: Showing VB Form Normal Size Reply with quote

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

Matt

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB