client has need for environment rollout to be able to create a private message queue, this is not accessible via the windows metabase, the MSMQ application module can be rolled out but creating a private message queue has not been possible.
The below code from : http://firstname.lastname@example.orgemail@example.com/msg01077.html
I'd like to get the example code compiled into an .exe with command line arguments for SERVERNAME , QNAME and QLABEL :
could somebody point me in the direction of this, I've downloaded MS Express Studio/Vbasic and tried to compile a console .exe file however an installable is created, any directions would be gratefully received
'Enter your sever name here
CONST MQ_SEND_ACCESS = 2
CONST MQ_DENY_NONE = 0
On error resume next
CreateQ "TestClient_1","TestClient_1 queue"
set qInfo = CreateObject("MSMQ.MSMQQueueInfo")
if Err = 0 then
qInfo.PathName = SERVERNAME & "\" & Qname
qinfo.Label = QLabel
Set qInfo = Nothing
Looking on google, it looks like it is possible to do this with vbs (visual basic scripting).
This will be easier to "install", as you just need to deploy the vbs file, and execute it with cscript/nologo