Solved

Any way to ensure the pop up is on top, before other program?

Posted on 2014-04-04
3
183 Views
Last Modified: 2014-04-04
iRetVal = objShell.Popup("Your computer will restart momentarily. ", TIMEOUT, "IT Maintenance", vbExclamation + vbYesNo + vbDefaultButton3)

Open in new window

I notice sometimes it only has a flashing icon at the bottom of my screen where the status icons are and it doesn't display on the scree before other open programs.  Anyway to fix this?  Thank you.
0
Comment
Question by:lapucca
  • 2
3 Comments
 
LVL 53

Accepted Solution

by:
Bill Prew earned 500 total points
ID: 39979160
Try adding vbSystemModal to the last parm.

iRetVal = objShell.Popup("Your computer will restart momentarily. ", TIMEOUT, "IT Maintenance", vbExclamation + vbYesNo + vbDefaultButton3 + vbSystemModal)

Open in new window

~bp
0
 

Author Closing Comment

by:lapucca
ID: 39979250
Perfect!  Thanks.
0
 
LVL 53

Expert Comment

by:Bill Prew
ID: 39979498
Welcome.

~bp
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

810 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