Code VBA for minimize application in Taskbar (Access) (1 Viewer)

ZAKEAD

New member
Local time
Today, 08:34
Joined
Nov 14, 2020
Messages
5
Hey everyone,
like the title i want a code VBA for minimizing my application into the Taskbar windows
in Access
can you help me
 

ZAKEAD

New member
Local time
Today, 08:34
Joined
Nov 14, 2020
Messages
5
I want the code to minimize my application not minimizing the access and show it on the taskbar for a user
 

Gasman

Enthusiastic Amateur
Local time
Today, 07:34
Joined
Sep 21, 2011
Messages
14,050
I just used the command with two access DB open and it only minimized the one where I ran the code?
 

ZAKEAD

New member
Local time
Today, 08:34
Joined
Nov 14, 2020
Messages
5
when i tried this code for minimizing my application
DoCmd.RunCommand acCmdAppMinimize

doesn't work can you tell me another one for minimizing the app into the taskbar
 

Gasman

Enthusiastic Amateur
Local time
Today, 07:34
Joined
Sep 21, 2011
Messages
14,050
when i tried this code for minimizing my application
DoCmd.RunCommand acCmdAppMinimize

doesn't work can you tell me another one for minimizing the app into the taskbar
No. Need to wait for the experts.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 00:34
Joined
Oct 29, 2018
Messages
21,358
when i tried this code for minimizing my application
DoCmd.RunCommand acCmdAppMinimize

doesn't work can you tell me another one for minimizing the app into the taskbar
Hi. Welcome to AWF!

What does doesn't work mean? Can you post some screenshots? If not by using VBA, how would you do it manually?
 

ZAKEAD

New member
Local time
Today, 08:34
Joined
Nov 14, 2020
Messages
5
Thanks for your reply
i want to create button to minimize my application and display it on the taskbar
if you have any code for this can you share it with me, thanks in advance :)
 

Minty

AWF VIP
Local time
Today, 07:34
Joined
Jul 26, 2013
Messages
10,355
So, as others have said the normal method is to use

DoCmd.RunCommand acCmdAppMinimize

You said this doesn't work. What doesn't work?
Post up some pictures?
a)What the above does
b)What you want to see
 

The_Doc_Man

Immoderate Moderator
Staff member
Local time
Today, 02:34
Joined
Feb 28, 2001
Messages
27,001
I have read the conversation but I am still not clear. The solution given to you by several others minimizes the application, but that which is in the taskbar is created and managed by Windows, not by Access. You CAN'T run anything in the taskbar because it is just a graphic equivalent of the TaskManager list of applications. It comes from the internal Windows process list.

So can you tell us what you want / expect to see when this minimization happens, and can you tell us what ACTUALLY happens when you try to run the minimization? In other words, tell us (or via screen shot, SHOW us) actual results that are different than what you wanted.
 

ZAKEAD

New member
Local time
Today, 08:34
Joined
Nov 14, 2020
Messages
5
First of all thanks for your reply & your time
in my case when i tried to run this code in my application : DoCmd.RunCommand acCmdAppMinimize
nothing happen you can see it on the screen
Prob.png

because i want to minimize the application and display it on the taskbar i find a topic talk about display the application in the taskbar
but i don't have any idea how use it on my case
 

theDBguy

I’m here to help
Staff member
Local time
Today, 00:34
Joined
Oct 29, 2018
Messages
21,358
First of all thanks for your reply & your time
in my case when i tried to run this code in my application : DoCmd.RunCommand acCmdAppMinimize
nothing happen you can see it on the screen
View attachment 86644
because i want to minimize the application and display it on the taskbar i find a topic talk about display the application in the taskbar
but i don't have any idea how use it on my case
Hi. Since we can't see you clicking on that button, nor can we see the code behind it (e.g. does it have [Event Procedure] in its Click event?), the perhaps you could tell us what happens if you do the following steps instead:
  1. Press Ctrl + G
  2. Type DoCmd.RunCommand acCmdAppMinimize
What happened? Anything? Nothing?

Some more questions: Which version are you using? How many monitors are you using?
 

Users who are viewing this thread

Top Bottom