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 vbscrpit to swap values
Why to use option explicit in vb script?
What are the different types of loops available in the vbscript language?
How to write Descriptive programming in .VBS file i wrote this code but it is giving error.. Dim qtApp set qtApp=createobject("QuickTest.Application") qtApp.Launch qtApp.Visible=True Set objIE = CreateObject("InternetExplorer.Application") objIE.visible = True objIE.Navigate "www.gmail.com" browser("title:=gmail").title("title:=gmail")
What's the difference between vbscript and vb.net?
Explain about the support of asp for vb script functionality?
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
What is the extension of the vbscript file?
What is a difference between scripting language and programming language?
How to Import data from a file (file is on the desktop) to the data table
what is resorceallocation
how to check whether link is disabled in QTP??