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.


Share the Post: