Visual Basic for Application (VBA) is the subset of the Visual Basic language. It means that it is similar to it but it hasn't got all its capability. VBA is integrated with applications like Microsoft Excel. In the Microsoft Office package there is integrated VBA into the Microsoft Word application and all other members of the Office product family.
VBScript uses the method "sand castle" with respect to the security. Its meaning lies in that VBScript reserves a part of resources and memory of the computer for itself. It can do anything, it wants in the sand castle but it can never leave it and damage the data in the rest of the computer memory. It means that pure VBScript cannot access the computer memory neither create or work with files on the harddisk. In practice, all statements that were "dangerous" in some manner (it means that they could be used for creating a virus), were removed.
Thus we get a very safe environment on one side, but we lose a lot of important and required possibilities at the same time. Like always, the solution exists. In VBScript it is possible to use objects. Each object can have lots of methods, and these methods can be created so that they can do nearly everything. Each Pma object (PmaPanel, PmaTimer, etc.) is understood as the object in VBScript, and all its methods and properties can be called. At the same time the special and unique Pm object can be used in VBScript that contains all required methods which don't belong to any concrete Pma object. In this object there are, for example, methods for the access to the disk. By this, the VBScript language is extended beyond its limits.