Solved

Minimize Form and Keep It Minimized

Posted on 2002-05-29
4
190 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
[X]
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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 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