I have a scheduled task that runs on my user machines at startup that currently brings up a 'configuring your station' style message in a command prompt window that is replaced by a vbscript msgbox saying that it has completed when it's finished.
I'd like to replace the command window with a small image that is displayed in a window that can't be closed or is displayed floating on the desktop with no frames. The image will have the company logo and the message. Once the task has completed, I'd like it to remove the image when the completed msgbox appears.
When I picture this in my head, it reminds me of the clan screens you get when you load into a Counter Strike Source server.
Can anyone point me in the right direction? Thanks in advance.
[edit] This is what I have so far: This brings the splash screen up but you have to Alt+F4 to remove it. Here's the thread I found with this code: http://stackoverflow.com/questions/1221145/need-a-vbscript-for-open-a-local-image-file-by-using-command-prompt
I don't know how to get it to be closed once the scheduled task completes.
With my current knowledge I'm going to be using autoit to do this.
There's probably a better way, though.
<html>
<hta:application id="oHTA"
border="none"
caption="no"
contextmenu="no"
innerborder="no"
scroll="no"
showintaskbar="no"
/>
<script language="VBScript">
Sub Window_OnLoad
' Resize and position the window
width = 575 : height = 390
window.resizeTo width, height
window.moveTo screen.availWidth\2 - width\2, screen.availHeight\2 - height\2
End Sub
</script>
<body>
<table border=0 width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<img src="image.bmp"/>
</td>
</tr>
</table>
</body>
</html>