Using Message Queuing COM Components in Server and Client-Side Scripting
Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista
Message Queuing provides COM components that can be used to create Web-based applications using server and client-side scripting.
Server-Side Scripting
Message Queuing COM components can be used in Active Server Pages (ASP) scripts using VBScript. When using this type of scripting, Message Queuing must be installed on the server where the ASP pages are stored, not on the client computers where the browser is running.
The following programming considerations should be kept in mind when developing your application
Only local queues can be created when using ASP pages. Queues cannot be created on a remote computer.
Your script must be in a text file that has an .asp suffix (for example, mq.asp). It can be stored in the InetPub\Scripts folder on your web server or any other folder that has execute script privileges.
The constants defined in Mqoai.h for use with the properties and methods of the Message Queuing COM components cannot be used directly. Their numerical values, however, can be used.
For more information about using server-side scripting with ASP, see An ASP You Can Grasp: The ABCs of Active Server Pages.
Client-Side Scripting
Message Queuing COM components can be used in any HTML page using the <OBJECT> tag in VBScript. When using this type of scripting, Message Queuing must be installed on an all client computers.
For more information on client-side scripting, see the Internet Explorer/VBScript documentation.
Security Considerations
Important
The Message Queuing COM components are not marked as safe for scripting.