Solved

Minimize Form and Keep It Minimized

Posted on 2002-05-29
4
191 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

728 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