Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Minimize Form and Keep It Minimized

Posted on 2002-05-29
4
188 Views
Last Modified: 2010-05-02
I can minimize a form to taskbar by:

Me.WindowState = vbMinimized

However, I want it to stay minimized. Currently, if the user clicks on the taskbar entry, it redisplays that form. I have the ControlBox disabled as well as MinButton and MaxButton disabled.

I want it to stay visible on the taskbar so that it can display the status of the program (using the form caption).
0
Comment
Question by:GivenRandy
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
Crin earned 50 total points
ID: 7042922
Hi,

Use

Me.WindowState = vbMinimized
Me.Enabled = False

And don't forget to set it back to True when software supposed to be restored :)

Sincerely,
Crin

0
 
LVL 3

Expert Comment

by:nichia
ID: 7042932
Try placing the window out of view.

In Form_Load:

Windowstate = vbMinimized
Left = -(Width *2)

Hope it helps!
0
 
LVL 9

Author Comment

by:GivenRandy
ID: 7042984
Of course! Thank you!
0
 
LVL 9

Author Comment

by:GivenRandy
ID: 7044444
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

790 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