Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
785 B

  1. <%@ LANGUAGE="VBSCRIPT" %>
  2. <HTML>
  3. <HEAD>
  4. <META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
  5. <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">
  6. <TITLE>MSMQ Asp Sample Delete Queue Page - 2</TITLE>
  7. </HEAD>
  8. <BODY>
  9. <H1>MSMQ Asp Sample Delete Queue Page - 2</H1>
  10. <H2>Deleting Queue : <%= Request.QueryString ( "QueuePath" )%><br>
  11. <% Set msmqinfo=CreateObject ( "MSMQ.MSMQQueueInfo" )
  12. msmqinfo.PathName=Request.QueryString ( "QueuePath" )
  13. on error resume next
  14. msmqinfo.Delete
  15. if err.number <> 0 then
  16. response.write "<font color=""#FF0000"">Error</font> 0x" & Hex(Err.Number) & " - " & Err.Description & "<br><br>"
  17. else
  18. response.write "Queue deleted.<br><br>"
  19. end if
  20. Set msmqinfo=Nothing
  21. %>
  22. </H2>
  23. <A HREF="Default.asp">[Home]</A>
  24. </BODY>
  25. </HTML>