VB Script Interview Questions
Questions Answers Views Company eMail

Which operator is used to perform the comparison among 2 operands in the vbscript language?

518

Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

531

How can you create a file object to work with the files in the vbscript language?

494

Which object is used to work with the database in the vbscript language and what statement is used to create this object?

501

What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

478

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

530

What are events in the vbscript language?

540

Which in-built function is used to format the number in the vbscript language?

567

What are the environments supported by vbscript language?

491

What are the naming conventions while declaring a variable in the vbscript language?

605

How are arrays declared in the vbscript language?

527

What is the use of the date function in the vbscript language?

550

What are the 2 ways in which a variable can be declared in the vbscript language?

553

How can constants be declared in the vbscript language?

540

What is the extension of the vbscript file?

540


Post New VB Script Questions

Un-Answered Questions { VB Script }

What is variant in vb script?

616


What is the use of the instr function?

568


What is the main difference between function and sub-procedure?

543


Explain the scope of the variables using dim, public, and private keywords respectively.

711


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

3176






Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1542


What is the output of a + b in vbscript if a = 5 and b = 10?

2047


write a program to display configuration of a local system with the help of vb script.

1678


Which in-built function related to an array joins substrings into one string in the vbscript language?

506


When are redim statement and preserve keyword used in the vbscript language?

578


Explain about arrays in vb script?

596


Out of the different type of operators, which are evaluated first and last in the vbscript language?

550


How will you format a number in percetage format in vbscript?

583


Mention the environments where vbscript could be run?

645


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1430