KyaPoocha.com

Huge Collection of Interview Questions


‘VBScript Interview Questions’ - KyaPoocha.com

What are the Platforms supported by VBScript? 

VBScript is supported by Windows 95, Windows NT (including a native version for Alpha), 16-bit Windows, and Unix Solaris. Microsoft is currently working with others... Read more »

What are the differences between the Dim, Public, and Private Statements in VBScript? 

Private statement variables are available only to the script in which they are declared. Public statement variables are available to all procedures in all scripts. Variables... Read more »

What are the major differences between Visual Basic and VBScript? 

They are different: You dont compile VB scripts like in Visual Basic. You just distribute them as plain text HTML files.The script engine interprets this text into... Read more »

What is the use of ReDim statement in VBScript? 

The ReDim statement is used to change the size of the array within the script: for example you have declared an array Dim Customers(50) But now you want to change... Read more »

What are the data types supported by Vbscript? 

VB script supports only one datatype i.e ) Variant  Read more »

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

Yes, it is possible to pass optional parameters to vb script functions. It could be done as done in vb by qualifying optional key word.  Read more »

What are the major differences between Visual Basic and VBScript? 

They are different: You dont compile VB scripts like in Visual Basic. You just distribute them as plain text HTML files.The script engine interprets this text into... Read more »

What is Variant data type in VBScript? 

VBScript has only one data type called a Variant. A Variant is a special kind of data type that can contain different kinds of information, depending on how it’s... Read more »

How are arrays defined in VBScript? 

Arrays are Declared like this: DIm A as Variant —> Where “A” is an Array.(’Declaration part —) A= Array(”Value1″,Value2″……….)... Read more »

How does VBScript differ from JavaScript and which proves better? State the reason for the same 

avaScript is better than VB Script. VB Script does not support client side validation where as Jscript supports it. For Eg: If we want to validate some date before... Read more »

What is the use of Option Explicit in VBScript? 

When you use the Option Explicit statement, you must explicitly declare all variables using the Dim, Private, Public, or ReDim statements. If you attempt to use... Read more »

How is variables declared in VBScript? 

You can declare variables with the Dim, Public or the Private statement. Like this: dim name name=some value  Read more »

What are the differences between Sub-Procedure and a Function in VBScript? 

The main difference is function returns a value where as a Sub-procedure does not.  Read more »

How do you create a recordset object in VBScript? 

First of all declare a variable to hold the Recordset object, ex- Dim objRs Now, Create this varible as a Recordset object, ex- Set objRs=Server.CreateObject(ADODB.RECORDSET)... Read more »

What is the scope of a variable ? 

The scope of a variable defines whether a variable will be accessible in the whole function or will be accessed only to its local instance.I have defined earlier... Read more »

Page 3 of 4«1234»