|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VBScript - How to put a MsgBox on top of a script?
Hello.
New to the forum and new to scripting. I have a simple script I wrote just to learn some stuff, and I've run into a snag. I'm hoping you all can help me. I guess I'm getting impatient, I'm only on chapter 5 of my book, but I want all the answers now !! ![]() K, so, Its' just a simple routine that runs disk cleanup, defrag, and then shuts the machine down. I am trying to find a way to put a dialog box on the screen telling the user the machine is working and not to bother it. But I need the dialog box to stay there while the disk cleanup & defrag are running in the background. So far, I've only been able to get the dialog box with the OK button, and the script waits for the user to hit the ok button before it continues to the disk cleanup. Is there a dialog box that doesn't have a button ?? I don't want to put up a Notepad message, but I may have to. Does anyone have any suggestions or ideas that might be better than a notepad message ?? Thank you in advance. Hangman ![]() |
|
#2
|
||||
|
||||
|
My suggestion would be to log off the current user and just show the Welcome Screen. If you wanted, you could show a custom message there.
There is no way to show a message box for the duration of a script without calling a separate script to do the work.
__________________
Click the image if at any point you don't like my decision.Scripting problems? Windows questions? Ask the Windows Guru! |
|
#3
|
|||
|
|||
|
Quote:
Hey, thanks for the suggestion and tip. I'm going to go try both & see which would work best for my use. Something new to learn, cool. Thanks again. |
|
#4
|
||||
|
||||
|
You're welcome. Be sure to let us know how it works out for you.
![]() |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows Scripting > VBScript - How to put a MsgBox on top of a script? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|