Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


The VB form is minimized

Posted on 2006-03-21
Medium Priority
Last Modified: 2008-02-07
From a VB program I do the following:

result = Shell("\\server\Projec\Screen.exe")

this runs the 'Screen.exe' but it is not maximized on the screen. It is only on the task bar until I click it and maximize it. Is there any way to have it maximized when we call it?
Question by:AutomaticSlim
LVL 19

Accepted Solution

Shauli earned 200 total points
ID: 16253207
result = Shell("\\server\Projec\Screen.exe", vbMaximizedFocus)


Author Comment

ID: 16253296
Thanks... What I needed was actually  "vbNormalFocus" your soloution lead me right to it.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question