*** Hopeleonie ***
asked on
How can i include my company name to a message box from a vbscript ?
Hi
How can i include my company name to a message box from a vbscript ?
Here is my script:
I would like to have my Message box like this (below). Is it possible ?
How can i include my company name to a message box from a vbscript ?
Here is my script:
set s=getobject("winmgmts:root\cimv2")
sQuery="select * from win32_process where name='iexplore.exe'"
set q=s.execquery(sQuery)
If q.Count > 0 Then
msgbox "Maintenance: Close Internet Explorer bla bla bla."
Do until q.count=0
wscript.sleep 5000
set q=s.execquery(sQuery)
msgbox "still open please close..."
Loop
msgbox "Internet Explorer closed, thanks. Starting to update, have a nice day!"
Set WshShell = WScript.CreateObject("Wscript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
end if
I would like to have my Message box like this (below). Is it possible ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Why, when I have already answered a question correctly with ALL the information needed, do people insist on posting additional posts with EXACTLY the same information and nothing additional?
1, 2, 3, 4, 5, 6... and relax!
ASKER
Although all solutions are correct, i will give most of the points to Neilsr. I think it is fair...
ASKER
Many thanks to all!