How do display output message without using msgbox function?

Answers were Sorted based on User's Feedback



How do display output message without using msgbox function?..

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

How do display output message without using msgbox function?..

Answer / shashank

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

How do display output message without using msgbox function?..

Answer / sujatha

how do use these (" wsript.echo" )method explain ?

Is This Answer Correct ?    1 Yes 0 No

How do display output message without using msgbox function?..

Answer / shashankshekharraj

With the help of InputBox also , otherwise the second
option is "Wsript.Echo".

Is This Answer Correct ?    0 Yes 0 No

How do display output message without using msgbox function?..

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

Post New Answer

More VB Script Interview Questions

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

4 Answers  


write a vb script to generate fibonnaci numbers

1 Answers  


Difference between Function and Sub routine?

0 Answers   Polaris,


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..

1 Answers   AppLabs,


Write VB script to convert from feet to inches(hint 1feet=12 inches)

2 Answers  






How to open excel in vb script?

0 Answers  


When to use function procedures and what are its characteristics?

0 Answers  


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.

0 Answers  


How to access array data?

0 Answers  


How to insert snapshot during manual scripting in QTP?

1 Answers  


What are class events?

0 Answers  


How do you create a recordset object in VBScript?

3 Answers  


Categories