How can I write HTML text to the window in VB Script?

Answers were Sorted based on User's Feedback



How can I write HTML text to the window in VB Script?..

Answer / saravanan

You can use the Document.write method to write any text,
HTML or otherwise, to the window.
These commands must be executed before the document has
finished loading. The best way is to execute VBScript
commands that are inline, not subroutines or functions that
are triggered by events.

Is This Answer Correct ?    2 Yes 0 No

How can I write HTML text to the window in VB Script?..

Answer / vcskiran

response.write("<html><body>kiran<" & chr(47) & "body><" &
chr(47) & "html>

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More VB Script Interview Questions

What is difference between vbscript and vba?

0 Answers  


print the array values in ascending order?

2 Answers   CSS Corp,


1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

0 Answers  


accept a string & display whether a is present or not

1 Answers  


Can anybody code this problem for me in VB script - Create an array of 4 elements, increase its size to 7 elements and then find out which of the elements are prime (use functions)

2 Answers  






Is it possible to pass optional argument to function in vb script?

2 Answers  


How many data types are supported in Vbscript?

3 Answers   Microsoft,


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  


When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

1 Answers  


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,


Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME

1 Answers  


What is the difference between do until loop and do while loop?

0 Answers  


Categories