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 |
Mention what is select case statement?
Mention what if you do not specify anything when you call a procedure?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Mention how to access array data?
Explain the arrays in vb script?
i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false
w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............
When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
Which function allows you to instantiate an object given its programmatic identifier or progid?
What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>
Could Anybody tell me the VBscript for REVERSE an Integer int reverse(int num) Ex:246 to 642