Can anyone tell me how to replace the MsgBox function with something
more robust?
I'm writing a program in VBScript but it is *NOT* going to run on a
browser or as an ASP. I'm simply writing a short numerical tool program
that can run on a windows desktop as a .VBS file using Windows Scripting
Host (WSH). The script will NOT be used as a script on a web page.
Now, the program does a calculation based on some user supplies input.
So far, the only way I can report to the user whats going on is like
this:
Dim i
Private Sub Loop
For i = 1 to 10
MsgBox "Hello World #" & i
Next
End Sub
Loop
Now, every time the loop completes, it sends out a Message Box
containing "Hello World #1", "Hello World #2",..... "Hello World #10"
HERE MY BIG PIEVE: Each time you get the MsgBox, the user has to click
"OK" to get the next information about the next iteration of the loop.
Why can I just print to a text box or a picture box or something so I
would get the following all at once:
"Hello World #1"
"Hello World #2"
"Hello World #3"
.
.
.
"Hello World #10"
Public Sub Rant
I remember from the old days of BASIC that you could use the Print
statement to get this kind of result <in the old days when programming
was simple :)> I just wanna print to a stupid text box or something!
This shouldn't be hard, but I'm having a heck of a time figuring out how
to do it.I've used Sam's TY Visual Basick in 24 Hours. MS Step by Step
VB 5.0 and the online tutorials on Visual Basic Script, and I still cant
figure this out! PLEASE HELP!!!!
End Rant
--
Donald A. Baker
{*filter*}ia Tech
Department of Mechanical Engineering
12-D Randolph Hall
231-9063
http://www.*-*-*.com/ :10021/D/dobaker4/dbresume.html
FEA, solids, 3D, finite element, ALGOR, CADKEY, IDEAS