VB Script Interview Questions
Questions Answers Views Company eMail

What is the use of option explicit in vbscript?

737

When to use function procedures and what are its characteristics?

780

What if you do not specify anything when you call a procedure?

777

What is the technology used by vb script?

721

What is the difference between vbscript and vba?

805

What is byref and byval parameters in vbscript?

803

What is vbscript?

793

What is select case statement?

796

What is vbscript procedures?

797

Explain about tristate constants in vbscript?

815

Explain about scrrun.dll?

707

Differentiate javascript and vbscript?

746

Explain the extension .hta?

721

Explain the asc function?

669

Explain the support of asp for vb script functionality?

815


Post New VB Script Questions

Un-Answered Questions { VB Script }

What are the advantages of vbscript?

833


Explain different types of segment?

772


How can you fetch the value of a cookie?

751


Does VB/Win make standalone .EXE files?

3107


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.

1639


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

730


Mention the environments where vbscript could be run?

888


Explain some uses of vb script?

745


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

697


Explain the functionality of vbscript?

699


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

707


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

2506


How you can call vbscript functions?

765


Sub link() Dim k As Integer Dim rand As Integer Dim URL As String Dim foldernum As Integer Dim folderstring As String Dim filenum As Integer Dim filestring As String k = 1 'for AC Numbers For i = 11 To 40 foldernum = 0 foldernum = 1000 + i folderstring = CStr(foldernum) folderstring = Mid(folderstring, 2, 3) folder = "ac" & folderstring 'folderstring = Sheets(2).Cells(i, 1) ' for Number of Random files For j = 1 To 10 rand = Int(Rnd * (200 - 1) + 1) filenum = 0 filenum = 1000 + rand filestring = CStr(filenum) filestring = Mid(filestring, 2, 3) 'URL = "http://ceobihar.nic.in/PSCDROM/ac" & folderstring & "/i" & folderstring & "0" & filestring & ".pdf" URL = "http://www.elections.tn.gov.in/pdfs/dt1/" & folder & "/" & folder & filestring & ".pdf" ' URL =http://www.wb.nic.in/wbeco/EROLLS/PDF/English/A001/a0010105 .pdf Cells(k, 1) = folderstring Cells(k, 2) = folder Cells(k, 3) = filestring Cells(k, 3) = URL k = k + 1 Next j Next i End Sub plz define it

2481


How are comments handled in the vbscript language?

707