How do display output message without using msgbox function?
Answers were Sorted based on User's Feedback
Answer / manjunathareddy
Set oShell=CreateObject("WScript.Shell")
oShell.Popup "Pop up window Automatically closes within
4 seconds",4,"VbScript"
Is This Answer Correct ? | 5 Yes | 0 No |
Actually this method is supported only with VBScript files.
while MsgBox used in VBScript as well as in other tool and
languages.
MsgBox pop the output message while "WScript.echo" execute
the whole Script in "window sript host" environment and Pop
up the OutPut.
Example :-
MsgBox "May name is"
WScript.Echo "My Name is"
Both having the same output bit via different path
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sujatha
how do use these (" wsript.echo" )method explain ?
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / shashankshekharraj
With the help of InputBox also , otherwise the second
option is "Wsript.Echo".
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / thachnan
if we want to display the output message or value without using "msgbox".we can use "print" functions.
ex:
a=10
b=15
c=a+b
print c
Is This Answer Correct ? | 0 Yes | 0 No |
sunday is sunday monday tuesday wendesday sunday thursday friday saturday sunday sunday how to count no of sunday in the text file from vb? Answer me asap
write a vb script to generate fibonnaci numbers
Difference between Function and Sub routine?
this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one edit(search) box and click search and should open google.com again and enter "job" in edit(search) box and click on search. I tried this but getting error "Edit(search) box matches more than one object", could anyone this question plz..
Write VB script to convert from feet to inches(hint 1feet=12 inches)
How to open excel in vb script?
When to use function procedures and what are its characteristics?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
How to access array data?
How to insert snapshot during manual scripting in QTP?
What are class events?
How do you create a recordset object in VBScript?