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 |
write a vb script to generate hello 5 times using do until loop
Which function is used in the vbscript language to convert the specified expression into a date type value?
I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong
Explain about the asc function?
What are the 2 ways in which a variable can be declared in the vbscript language?
Explain about scrrun.dll in vbscript?
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?
3 Answers Logica CMG, McGraw Hill,
What is vbscript language used for and which earlier language is it modeled upon?
If anyone knows abt Test Complete material, Pls let me Know. if u have any material or any documents..... Pls mail me on this mail Id...... This is very Urgent Requirment..... for my Project.....
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
What is loose binding? Why is it not a good practice to use it?
Explain a few date functions in vbscript