VBScript Language Limitations in an ASP Environment

VBScript Language Limitations in an ASP Environment

Two VBScript built in features are disabled when you are using VBScript on the server with ASP. Because ASP scripts are executed on the server, the VBScript statements, InputBox and MsgBox, that present user-interface elements, are not supported.

Also, you should not use VBScript functions CreateObject and GetObject in server-side scripts. Use Server.CreateObject instead so that ASP can track the object instance. Remember that the objects created by CreateObject or GetObject cannot access the ASP built-in objects and cannot participate in transactions. However, there is an exception to this is when you use the Admin Objects or when you use Java monikers to create objects.

See also  Does It Make Sense to Splurge on a Laptop?

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist