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 |
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
pls tell me which is good book or site for vbscript?
What is the use of the recordset object and which statement is used to create such an object?
what is test scenario?
Explain about operator precedence in vb script?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Explain the .wsf files?
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.
write a qtp script to count the number of minimized windows
Difference between dim,public and private variables in vb script?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
what is the use of QCUtil? explain with one example?