What are the differences between Visual Basic, VBA and
VBScript? When would it be appropriate to use one as
opposed to another?

Answer Posted / ranjan garg

Visual Basic is a standalone tool for creating separate
software components such as executable programs, COM
components and ActiveX? Controls. It is useful when
building a specialised solution from scratch. VBA offers
the same powerful tools as Visual Basic in the context of
an existing application and is the best option for
customising software that already meets most needs.
VBScript is a lightweight version of the Visual Basic
language designed specifically for use on web pages. While
VBScript can sometimes be used for simple automation, VBA
is the premier technology designed specifically for
application automation.

Is This Answer Correct ?    10 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1779


How will you get the last occurrence of one string within another string using vbscript?

675


Explain about vb script?

738


How can constants be declared in the vbscript language?

540


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

1574






What is event handling in vbscript?

589


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


How will you reverse a string in vbscript?

608


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

550


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2562


Which keyword is used to declare a variable in the vbscript language?

523


create a form to accept username and password validate the username and password with using message box, display the corresponding user message

2147


How to Import data from a file (file is on the desktop) to the data table

1569


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

3025


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

527