|
-
Feb 12th, 2000, 02:16 PM
#1
Thread Starter
Junior Member
I am trying to maximise an external application which I started using the shell command from vb.
Can anyone tell me how to do this?
-
Feb 12th, 2000, 03:45 PM
#2
If you used the Shell command in VB then just pass the WindowStyle parameter, ie.
Shell "NotePad", vbMaximizedFocus
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Certified AllExperts Expert
-
Feb 12th, 2000, 04:28 PM
#3
Thread Starter
Junior Member
I have already managed to maximise it for the first time, but what I need now, is, when the user starts the other app, it is added to a combo box on an mdi form, and if the user minimises the other app and returns to my program, and then selects the other application from the combo box, it then maximises it again.
The reason they cannot just do it from the windows taskbar, is that the taskbar is hidden permanently.
Do you have any other suggestions?
I have tried AppActivate, but it does not seem to place the other app on the top of my program.
Thanks for your help.
Originally posted by Aaron Young:
If you used the Shell command in VB then just pass the WindowStyle parameter, ie.
Shell "NotePad", vbMaximizedFocus
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|