Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 1667
Number of posts: 4756

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Can't display warning Posted by VSduffer on 29 Jan 2011 at 3:40 PM
I wrote a small VB6 program to monitor the status of a Shared Network Drive. In this case it's an external hard drive. The drive is used for backup. The program is invoked automatically when the computer is booted and runs minimized.

If the backup drive is not turned on or otherwise not functional then the program changes from mimimized to a normal window and displays various statistics and a warning that the backup drive isn't working.

So far so good, but the problem is the normal window is behind whatever program happens to be running. If you minimize the program that happens to be running then you will see the various statistics and a warning as to the status of the backup drive.

I want to make the warning much more prominent, like minimizing the program that happens to be running or displaying the warning window in front of the progrmam that happens to be running. I want something really noticaeble. The computers don't have speakers so I can't play an warning.wav .

Any suggestions would be appreciated.




--------------------------------------------------------------------------------
richard bromberg

Report
Re: Can't display warning Posted by schwaberry on 5 Apr 2011 at 9:02 PM
Thanks for your sharing! I hope it works for me!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.