VB Script Interview Questions
Questions Answers Views Company eMail

What is vbscript language used for and which earlier language is it modeled upon?

528

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

588

What are lbound and ubound in the vbscript language?

601

How can you fetch the value of a cookie?

545

What are the differences between sub procedures and function procedures?

516

Is vbscript language a case-sensitive language and what does it mean?

544

How to get the length of the string by making use of the string function?

558

How are values assigned to the variables in the vbscript language?

567

Which operator is used to concatenate the 2 values in the vbscript language?

554

What is the purpose of the err object in the vbscript language?

618

Why is it recommended to close the database connection every time after the work is completed?

495

What is the difference between for loop and while loop?

550

Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

792

When does ‘on click of button’ event gets triggered in the vbscript language?

538

Explain about scrrun.dll in vbscript?

644


Post New VB Script Questions

Un-Answered Questions { VB Script }

i have a problem with this error(this error related edit and delete button,when i click this button in datagrid..i will get this error)"Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation." this is my code : <%@ Page Language="VB" Debug="false" %> <%@ import Namespace="Sytem.Data" %> <%@ import Namespace="System.Data.OleDB" %>

(Search Based On Staff I.C No) IC.No (XXXXXX-XX-XXXX)   ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> ' runat="server"> Total Leave Taken : Days

2340


Which date function is used in the vbscript language to find the difference between the 2 dates?

589


What is sql loader? Explain the files used by sql loader to load file?

617


What methods are used to create text files and open text files in the vbscript language?

532


Explain the extension .hta?

538






How to assign a numeric value to a variable?

613


What are class variables?

612


Does VB/Win make standalone .EXE files?

2897


Hello Friends , I am the new joinner of this website. I am working with Sapient ,Gurgoan I would like to ask few qurries regarding the QTP Tool of (Testing) Currently working on QTP Tool . I would like to no learn VB Script can u name some Books which i get in market. And a small issue in QTP I had 2 users right i have to login and send the document from this user to second user right. when i am send this doc some contendId number generates right. now i am loging into second user and i have to search for that contentId right i found it now i dont want to accept the document so i had an opption of check out ok i have to click on check out my QTP Code is like this Browser(" ").Page(" ").WebTable(" ").ChildItem (3,5,"Image",0).click Browser(" ").Page(" ").Link("ChecK Out").Click i new this code is perfectly right but when i am run the script i have to click on that particular contentId and click on check out but now the Problem is started the error is the document has been already checked out remeber every time my content id changes means it is the new contentId which is not been used atleast once Please help me out in this issue i am in big trouble

2021


How to create a function in vbscript?

582


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2500


What is the difference between VBScript and JavaScript?

2054


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

503


Explain vbscript in detail?

615


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3029