[Webinar] Streamline your web hosting managementRegister Today


Minimized form but 100% active form

Posted on 1999-10-31
Medium Priority
Last Modified: 2010-05-02
I ve made a program to download data from serial port. I need to have it in a minimized form (do not want the user see the form).  And I need to have 100% active ( I seems very slow when I put it in minimized) Does anybady have some idea ? Thanks a lot.

Question by:jwillemssens

Expert Comment

ID: 2172774
There's a chance that windows is shifting resources away from your app because it's minimized and therefore probably not in actual use at the moment. If this is true, you probably can't do anything about it.
LVL 32

Expert Comment

ID: 2172812
I wonder if making the communications functions into an ActiveX EXE would help?  The question is, would the background process inherit the main application's timeslice?
LVL 12

Expert Comment

ID: 2173057
Build it as a formless application. Create a new project. Add a module. Delete the default form. Save the project. You'll have an *invisible* program that runs like an old DOS app. It should have a good amount of execution thread because it's still "on top" but just doesn't have a screen presence.

LVL 14

Accepted Solution

mcrider earned 300 total points
ID: 2173791
Here's an old trick you can use:

Don't minimize the form, just move it off the visible screen...

First store off the forms top, then run:

Me.Top = Screen.Height + 600

Then when you want the form "visible" again, restore the form's stored top.

The form will stay in foreground execution...


Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Suggested Courses
Course of the Month9 days, 16 hours left to enroll

591 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