Hi.
I'm a bit curios about a thing that I saw a few days ago.
In a scripts, they hade the ability to write the following
to present the user with a very nice dialog box, with
progress bar and everything.
Set oStatusBox = CreateObject
("InternalScriptRuntime.StatusBox")
oStatusBox.Create
' Set's the titel of the dialog box
oStatusBox.SetTitle "Testbox"
' Adds the first message to the text box
oStatusBox.AddMessage "Yeay!!"&vbCRLF
' Moves the progress bar to 30%
oStatusBox.SetProgress 30
WScript.Sleep 1000
' Adds a second line to the textbox box
oStatusBox.AddMessage "This is very nice!"&vbCRLF
' Moves the progress bar to 70%
oStatusBox.SetProgress 70
WScript.Sleep 1000
' Closes the dialog box
oStatusBox.Destroy
How are they abel to do things like this? I want to be
abel to do this? I know that this must be some addedd
program or .dll file that give them this "ability", but
how do I do this! That's what I want to know...
/Johan Christensson